选中数据库中的checkboxlist 列表
摘要:Dim str() As String = "1,2,4".Split(",") '{"1", "2", "3"} For i As Integer = 0 To Me.CheckBoxList1.Items.Count - 1 For j As Integer = 0 To str.Length - 1 If str(...
阅读全文
posted @
2008-06-25 22:59
王德田
阅读(262)
推荐(0) 编辑
复制表的行数据 DataSet DataTable
摘要:DataSet ds = new DataSet(); ds.ReadXml(Application.StartupPath.ToString() + "file://SystemConfig.xml/"); DataTable dtt = new DataTable(); dtt=ds.Tables[0].Clone()...
阅读全文
posted @
2008-06-25 22:56
王德田
阅读(328)
推荐(0) 编辑
asp.net 对 xml webconfig的操作
摘要:XmlDocument xdc = new XmlDocument(); xdc.Load(Server.MapPath("Web.config")); XmlNode root = xdc.SelectSingleNode("configuration/appSettings/add"); XmlElement xe = root as XmlElement; xe.Se...
阅读全文
posted @
2008-06-25 22:54
王德田
阅读(179)
推荐(0) 编辑
支付宝 C#接口
摘要:复制C#代码保存代码 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; usi...
阅读全文
posted @
2008-06-25 22:48
王德田
阅读(754)
推荐(0) 编辑