private void BindClient() { DataSet dsGrp = new DataSet(); Whitfieldcore wUser = new Whitfieldcore(); dsGrp = wUser.GetClientlist(); if (dsGrp.Tables[0].Rows.Count > 0) { ChkPrjClient.DataSource = dsGrp; ChkPrjClient.DataTextField = "Name"; ChkPrjClient.DataValueField = "ClientID"; ChkPrjClient.DataBind(); } }
private DataSet Summary_Queue() { DataSet dsRpAdvances = new DataSet(); try { Whitfieldcore _wc = new Whitfieldcore(); dsRpAdvances = _wc.GetClientlist(); } catch (Exception exp) { Response.Write(exp.Message.ToString()); } return dsRpAdvances; }