/// <summary> /// 绑定列表 /// </summary> private void BindList() { using (PurProvider purProvider = new PurProvider()) { DataTable table = purProvider.GetPRCheckList(); List.DataSource = table; } List.DataBind(); this.List.SelectedIndex = -1; DetailList.DataSource = null; DetailList.DataBind(); }