低调的逍遥

仗剑江湖梦已远
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2007年11月7日

摘要: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.W... 阅读全文

posted @ 2007-11-07 17:13 低调的逍遥 阅读(425) 评论(0) 推荐(0) 编辑

2007年10月18日

摘要: XPath is a language for finding information in an XML document. XPath is used to navigate through elements and attributes in an XML document. Xpath是一种能够在XML文档中寻找信息的语言。它通过XML文档中的元素和属性来进行导航。 What You... 阅读全文

posted @ 2007-10-18 16:21 低调的逍遥 阅读(4287) 评论(0) 推荐(1) 编辑

2007年9月19日

摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 in... 阅读全文

posted @ 2007-09-19 11:08 低调的逍遥 阅读(184) 评论(0) 推荐(0) 编辑

摘要: "^\d+$" //非负整数(正整数 + 0) "^[0-9]*[1-9][0-9]*$" //正整数 "^((-\d+)|(0+))$" //非正整数(负整数 + 0) "^-[0-9]*[1-9][0-9]*$" //负整数 "^-?\d+$" //整数 "^\d+(\.\d+)?$" //非负浮点数(正浮点数 + 0) "^(([0-9]+\.[0-9]*[1-9... 阅读全文

posted @ 2007-09-19 10:52 低调的逍遥 阅读(146) 评论(0) 推荐(0) 编辑

2007年9月10日

摘要: 1 /**//// 2 /// 经过处理获取所略图 3 /// 4 /// 5 /// 6 /// 7 private byte[] LessonPicAutoWidth(MemoryStream ms, int height) 8 { 9 byte[] ChagedByte; 10 Syste... 阅读全文

posted @ 2007-09-10 16:18 低调的逍遥 阅读(708) 评论(0) 推荐(0) 编辑

2007年8月13日

摘要: 1、自定义列 Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance Host Controls in Windows Forms DataGridView Cells 继承 DataGridV... 阅读全文

posted @ 2007-08-13 17:28 低调的逍遥 阅读(197) 评论(0) 推荐(0) 编辑

2007年8月6日

摘要: DBNull在DotNet是单独的一个类型 System.DBNull 。它只有一个值 DBNull.Value 。 DBNull直接继承 Object ,所以 DBNull 不是 string , 不是 int , 也不是 DateTime 。。。 但是为什么 DBNull 可以表示数据库中的字符串,数字,或日... 阅读全文

posted @ 2007-08-06 13:51 低调的逍遥 阅读(4129) 评论(2) 推荐(1) 编辑

摘要: 灵活的运用数据绑定操作 绑定到简单属性: 绑定到集合:' runat="server"> 绑定到表达式: 绑定到方法返回值: 绑定到Hashtable: 绑定到ArrayList: 若数组里里放的是对象则可能要进行必要的转换后再绑定如: 绑定到DataView,Dat... 阅读全文

posted @ 2007-08-06 10:03 低调的逍遥 阅读(639) 评论(0) 推荐(0) 编辑