private void BindArch() { DataSet dsGrp = new DataSet(); Whitfieldcore wUser = new Whitfieldcore(); dsGrp = wUser.GetArchitects(); if (dsGrp.Tables[0].Rows.Count > 0) { ddlarchitect.DataSource = dsGrp; ddlarchitect.DataTextField = "Architect"; ddlarchitect.DataValueField = "ArchID"; ddlarchitect.DataBind(); ddlarchitect.Items.Insert(0, common.AddItemToList("Select Architect", "0")); } }
private DataSet Summary_Queue() { DataSet dsRpAdvances = new DataSet(); try { Whitfieldcore _wc = new Whitfieldcore(); dsRpAdvances = _wc.GetArchitects(); } catch (Exception exp) { Response.Write(exp.Message.ToString()); } return dsRpAdvances; }