private void BindWinClientinfo(Int32 EstNum,Int32 twc_project_number) { DataSet dsGrp = new DataSet(); Whitfield_Project wUser = new Whitfield_Project(); dsGrp = wUser.GetClientlistForProject(EstNum.ToString(),twc_project_number); if (dsGrp.Tables[0].Rows.Count > 0) { ddlwonclient.DataSource = dsGrp; ddlwonclient.DataTextField = "Name1"; ddlwonclient.DataValueField = "ClientID"; ddlwonclient.DataBind(); //ddlwonclient.Items.Insert(0, common.AddItemToList("Select", "0")); } else { ddlwonclient.Items.Insert(0, common.AddItemToList("No Clients Yet", "0")); } }