09 2007 档案

摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Xml;na... 阅读全文
posted @ 2007-09-27 10:24 peak 阅读(7050) 评论(0) 推荐(2) 编辑
摘要:// 以DataSet- 导出Excel文件 public void ExportExcel() { DataSet ds=this.dataset_zhao_sheng1;//取得dataGrid绑定的DataSet if(ds==null) return; string saveFileName=""; bool fileSaved=false; SaveFi... 阅读全文
posted @ 2007-09-25 12:19 peak 阅读(348) 评论(0) 推荐(0) 编辑
摘要:public void ExportExcel() {// DataTable xslTable=(DataTable)this.dgrd_Show.DataSource;//取得dataGrid绑定的DataSet// if(xslTable==null) return; if(this.lstView.Items.Count==0) return; string saveF... 阅读全文
posted @ 2007-09-25 11:41 peak 阅读(1117) 评论(0) 推荐(0) 编辑
摘要:下面链接就是一个c#写的网络爬虫,上面是翻译版 ,下面是英文原版http://blog.csdn.net/wangkun9999/archive/2007/05/02/1594496.aspxhttp://www.codeproject.com/cs/internet/Crawler.asp另外,爬虫抓下来的东西要进行分析是必然的了,但c#中好像没有HTML解析器,特别是对那种不太规范的HTML,... 阅读全文
posted @ 2007-09-24 12:45 peak 阅读(5247) 评论(1) 推荐(2) 编辑
摘要:经过微软.net Framework 2.0的革新,.net平台的开发越来越精彩。笔者收集基于.net开发的n个项目,一方面为新手提供有价值学习资源,培养起软件开发的乐趣,另一方面共勉已从事.net领域工作多年并有明确发展目标的同仁,提高自己,更上一层楼。 SharpDevelop 强大的插件系统,通过Addin构建成一个功能齐全的.net开发IDE。核心是AddInTree。跟随这个项目开... 阅读全文
posted @ 2007-09-14 13:06 peak 阅读(209) 评论(0) 推荐(0) 编辑
摘要:1,Session["变量名称"]对于编程,使用起来不方便,如果Session里面需要存储的变量名称过多,敲字符比较麻烦,如果根据Session["userID"]去数据库里存取,损失性能. 2,对于站内即时短消息,聊天,下棋性质的的程序,需要知道私聊对方的一些属性,由于通信频繁,而有些数据又没有长期保存的必要,所以需要一个类似2个用户共有的Session变量,这个变量可以随 用户/私聊/棋局 消... 阅读全文
posted @ 2007-09-06 20:24 peak 阅读(214) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示