24
12/11
GridView实现删除、更新、取消
//数据绑定 private void InitData() { string sqlselect = ""; XmlDocument document = new XmlDocument(); document.Load(Server.MapPath("BannerList.xml")); XmlNodeList xn = document.SelectNodes("BannerList/item"); string selch = "";selch = ddlchannel.SelectedItem.Value; if ( ddlchannel.SelectedItem.Value != "-1") { sqlselect = "select picid,picdiscription,piclink,picname,uploaddatetime,picchannel,picorder,isenjoin,banner ,bannercode from ...