文章分类 -  ASP.NET

摘要:把WebForm数据导出到Excel中 上午给系统的订单管理部分添加了一个功能,把查询到的订单信息导出到Excel,供管理员分析用。以前写的代码如下: Response.Clear();Response.BufferOutput = true;Response.Charset = "GB2312";Response.AppendHeader("Content-Dispositio... 阅读全文

posted @ 2006-05-30 12:02 飞鼠

摘要:动态添加控件 Server.MapPath所在命名空间 System.Web.HttpContext.Current.Server.MapPath 阅读全文

posted @ 2006-05-30 12:00 飞鼠

摘要:在DataGrid的使用中,经常需要为删除按纽添加确认对话框,根据我的学习经验,总结了三种方法,原理都是在客户端为删除按纽添加脚本代码来实现删除前弹出确认对话框。 方法一: 当为DataGrid控件添加删除按纽后,为DataGrid控件添加ItemDataBound事件处理程序,代码如下: //添加删除确认对话框。 switch(e.Item.ItemType) { case Lis... 阅读全文

posted @ 2006-05-30 11:56 飞鼠

摘要:http://zhenyulu.cnblogs.com/category/6930.html http://blog.csdn.net/CQP/category/166274.aspx http://blog.csdn.net/netxzs/archive/2005/12/19/556285.aspx http://blog.csdn.net/qutr/category/125050.aspx h... 阅读全文

posted @ 2006-02-21 14:57 飞鼠

摘要:using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Data.OleDb;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI;usin... 阅读全文

posted @ 2006-02-07 13:45 飞鼠

摘要:在crystalReport(水晶报表)动态输入参数(转) http://edu.cn700.com (点击数: 59 时间:2004-11-21) 命名空间为:using CrystalDecisions.Shared private void BuildReportViewerParameters(CrystalDecisions.We... 阅读全文

posted @ 2006-01-18 11:24 飞鼠

摘要:http://www.amowa.net/buffalo/经过长时间的工作和buffalo社区的支持,buffalo ajax/amowa framework 1.2发布。新版本包含了经过改进激动人心的Spring集成,Prototype集成,以及浏览器前进后退的支持。主要的新特性如下:* 支持浏览器前进后退(这个特性几乎可以在小型应用中替换MVC)* 重写了整个服务调用模块* 重写了Spring... 阅读全文

posted @ 2006-01-18 10:57 飞鼠

摘要:http://www.tersus.org/about/visual_ajax?c=ajThe Tersus Visual Programming Platform employs AJAX techniques "under the hood", simplifying the creation of web applications with a rich, responsive user i... 阅读全文

posted @ 2006-01-18 10:54 飞鼠

摘要:Ajax书籍下载地址列表 1.Ajax in action 语言版本:英文下载地址:http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=121&threadID=28473&messageID=171021ps:Ajax in Action 翻译团队扬帆启航 Ajax 领域的第一本经典巨著 Ajax in Ac... 阅读全文

posted @ 2006-01-18 10:53 飞鼠

摘要:44个利用AJAX制作的网站 24SevenOffice - web-based economy & administration systems A9 Maps A9.com - Amazon's Google wanna-be search engine AJAX Dictionary Apple Store Backbase - Site buil... 阅读全文

posted @ 2006-01-18 10:53 飞鼠

摘要:Ajax基础教程 AJAX (异步 JavaScript 和 XML) 是个新产生的术语,专为描述JavaScript的两项强大性能.这两项性能在多年来一直被网络开发者所忽略,直到最近Gmail, Google suggest和google Maps的横空出世才使人们开始意识到其重要性. 这两项被忽视的性能是: • 无需重新装载整个页面便能向服务器发送请求. #8226; 对XML文档的解析和处理... 阅读全文

posted @ 2006-01-18 10:51 飞鼠

摘要:浏览器端框架被划分成两大类: ·应用程序框架:提供浏览器的功能,但是常以包括窗口小部件抽象和另外的部件而出名,其功能主要围绕桌面GUI框架。 ·基本结构框架:提供基本的管道和可移植的浏览器抽象,让开发者去创建内容。典型的功能: * 针对XMLHttpRequest的包装器以封装浏览器-服务器的交互。(所有的框架都提供这一功能)。 * XML操作和查询。 * 根据来自XMLHttpRequest的应... 阅读全文

posted @ 2006-01-18 10:51 飞鼠

摘要:摘要:虽然大部分开发人员在过去使用过XMLHttp或者使用Iframe来加载数据,但仅到现在我们才看到传统的开发人员和公司开始采用这些技术。就像新的编程语言或模型伴随着更多的痛苦,开发人员需要学习新的技巧及如何最好利用这些新技术。这篇文章讲述了开发人员使用AJAX需要使用的工具和技术。 版权声明:任何获得Matrix授权的网站,转载时请务必以超链接形式标明文章原始出处和作者信息及本声... 阅读全文

posted @ 2006-01-18 10:49 飞鼠

摘要:AJAX开发人员的编译模式:http://www.ajaxpatterns.org • XMLHttpRequest教程:“动态网页接口”:http://www.xml.com/pub/a/2005/02/09/xml-http-request.html • JavaScript性能基准:http://blogs.ebusiness-apps.com/dave/?p=14 • AJAX资源:ht... 阅读全文

posted @ 2006-01-18 10:48 飞鼠

摘要:最近要做个MP3搜索,并自动ftp上传的程序,找来找去发现了这个ftp方法的类库不错,发上来给大家共享共享。 /* FTPFactory.cs Better view with tab space=4 Written by Jaimon Mathew (jaimonmathew@rediffmail.com) Rolander,Dan (Dan.Rolander@marriott.com) has... 阅读全文

posted @ 2006-01-18 08:49 飞鼠

摘要:http://www.codeproject.com/csharp/practicalguidedatagrids1.asp Copyright The contents of this document can be freely copied and disseminated with the condition that the document retains reference ... 阅读全文

posted @ 2006-01-09 15:24 飞鼠

摘要:Recently, I found myself in the position of having to understand a large body of (largely undocumented) .NET code in a very short amount of time. When you’re in that situation, what strategies do you ... 阅读全文

posted @ 2006-01-06 21:28 飞鼠

摘要:.Net开发在线资源(转自CSDN) 网络无涯、精彩无限哪些网站是你认为比较精彩的?拿出来与大家一起分享 http://www.microsoft.com/china(微软中文网站,有微软的最新活动、最新介绍) http://www.microsoft.com/china/msdn(微软中文MSDN) http://www.microsoft.com/china/community/develo... 阅读全文

posted @ 2006-01-05 10:01 飞鼠

摘要:追MM与设计模式的有趣见解 创建型模式 1、FACTORY —追MM少不了请吃饭了,麦当劳的鸡翅和肯德基的鸡翅都是MM爱吃的东西,虽然口味有所不同,但不管你带MM去麦当劳或肯德基,只管向服务员说“来四个鸡翅”就行了。麦当劳和肯德基就是生产鸡翅的Factory 工厂模式:客户类和工厂类分开。消费者任何时候需要某种产品,只需向工厂请求即可。消费者无须修改就可以接纳新产品。缺点是当产品修改时,工... 阅读全文

posted @ 2006-01-05 09:17 飞鼠

摘要:(一).功能 当一个系统有了一定规模,可能要销售到国外其它国家,这时候要实现多种资源文件. 本代码示例将介绍怎样实现: 一个系统同时具有简体,繁体,英文等不同资源文件. 实现原理: 将多资源文件存储在多个*.txt文件(例如CN.txt En.txt等)中,程序根据当前当前浏览器 语言设置 读取相应的资源文件(二).具体步骤如下 1. 创建一个资源文件 a.建立一个记事... 阅读全文

posted @ 2006-01-05 09:13 飞鼠