private void initialList(int PageIndex) { DataSet ds = XmlObject.StringToDataSet(FieldsXML); try { this.list.DataSource = ds.Tables[0]; } catch { } this.list.DataKeyNames = new string[] { "name" }; this.list.DataBind(); }
private void initialList(int PageIndex) { DataSet ds = XmlObject.StringToDataSet(FieldsXML); try { this.list.DataSource = ds.Tables[0]; } catch { } this.list.DataKeyNames = new string[] { "name" }; this.list.DataBind(); }