上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
string strPath = System.Web.HttpContext.Current.Server.MapPath("~/App_Data/Interface.xml"); System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument(); //定义XmlDocument对象 xmlDoc.... Read More
posted @ 2008-09-11 12:55 liangwei389 Views(393) Comments(0) Diggs(0) Edit
public string GetIPByDomain(string url){ if (url.Trim() == string.Empty) return ""; try { System.Net.IPHostEntry host = System.Net.Dns.GetHostEntry(url); return host.Addr... Read More
posted @ 2008-09-11 12:34 liangwei389 Views(395) Comments(0) Diggs(0) Edit
'> ... Read More
posted @ 2008-09-10 08:51 liangwei389 Views(169) Comments(0) Diggs(0) Edit
OnClientClick="this.disabled=true;this.form.submit();" UseSubmitBehavior="False" 禁用后退功能 阻止按钮提交的操作: 例如: Read More
posted @ 2008-09-04 10:22 liangwei389 Views(286) Comments(0) Diggs(0) Edit
posted @ 2008-09-02 18:11 liangwei389 Views(173) Comments(0) Diggs(0) Edit
从网上找的event.keycode值大全,方便自己和大家以后查阅: event.keycode值大全keycode 8 = BackSpace BackSpace 2keycode 9 = Tab Tab 3keycode 12 = Clear 4keycode 13 = Enter 5keycode 16 = Shift_L 6keycode 17 = Co... Read More
posted @ 2008-09-02 17:35 liangwei389 Views(759) Comments(0) Diggs(0) Edit
sing System; using System.Collections.Generic; using System.Text; using System.Xml; namespace ReadXmlNode { class Program { static void Main(string[] args) { XmlDo... Read More
posted @ 2008-08-25 22:58 liangwei389 Views(208) Comments(0) Diggs(0) Edit
Hashtable类和SortedList类是两种被称为字典(dictionary)的集合。所谓字典,是指一种键值对的集合。 Hashtable类被称为哈希表,Hashtable类在内部维护着一个内部哈希表。内部哈希表为插入到Hashtable的每个键进行哈希编码,在后续的检索操作中,通过哈希代码,可以遍历所有元素。这种方法为搜寻操作提供了较佳的性能。 SortedList类是一种可以对“键值对... Read More
posted @ 2008-07-11 18:06 liangwei389 Views(1224) Comments(0) Diggs(0) Edit
ValidationExpression="[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}" 日期格式:2008-12-5 ValidationExpression="^(0[0-9]{2,3}"-)?([2-9][0-9]{6,7})+("-[0-9]{1,4})?$">电话格式:028-88688688 ValidationExpression="^1(3|5)"d{9}$" ... Read More
posted @ 2008-07-11 14:04 liangwei389 Views(238) Comments(0) Diggs(0) Edit
Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE CS方法 //比较开始时间和结束时间 public b... Read More
posted @ 2008-07-10 14:47 liangwei389 Views(285) Comments(0) Diggs(0) Edit
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页