<% ' BEGIN USER CONSTANTS ' To just use a DSN, the format is shown on the next line: 'Const DSN_NAME = "DSN=ASP101email" ' Two other samples I used it with. Left in as syntax examples for DSN-less connections 'Const DSN_NAME = "DBQ=C:\InetPub\wwwroot\asp101\samples\database.mdb;Driver={Microsoft Access Driver (*.mdb)};DriverId=25" 'Const DSN_NAME = "DBQ=C:\In...[ 查看全文 ]
自定义的集合类 /// /// Collection 的摘要说明。 /// public class Collection : System.Collections.CollectionBase { public Collection() { for(int i = 0;i { base.InnerList.Add(new Element(i,string.Format("a[{0}]",i))); } } } 集合元素类 public class Element { private string name; public string ValueName { get{return name;} } private int valu; public int V...[ 查看全文 ]