public void BindMonths() { DataSet dsGrp = new DataSet(); Whitfieldcore wUser = new Whitfieldcore(); DataSet hash = wUser.GetMonths(); ddlMonth.DataSource = hash; ddlMonth.DataTextField = "month_name"; ddlMonth.DataValueField = "month_name"; ddlMonth.DataBind(); }
private void BindMonths() { DataSet dsGrp = new DataSet(); Whitfieldcore wUser = new Whitfieldcore(); DataSet hash = wUser.GetMonths(); ddlMonth.DataSource = hash; ddlMonth.DataTextField = "month_name"; ddlMonth.DataValueField = "month_name"; ddlMonth.DataBind(); //ddlMonth.Items.Insert(0, common.AddItemToList("Select Month", "0")); }