private void LoadMonth() { BusinessLayer.Common.MonthMaster objMonth = new BusinessLayer.Common.MonthMaster(); DataTable dt = objMonth.GetAll(); ddlMonth.DataSource = dt; ddlMonth.DataBind(); InsertFisrtItem(ddlMonth, "--SELECT MONTH--"); }
protected void LoadMonth() { BusinessLayer.Common.MonthMaster objMon = new BusinessLayer.Common.MonthMaster(); DataTable DT = objMon.GetAll(); ddlFromMonth.DataSource = DT; ddlFromMonth.DataBind(); ddlToMonth.DataSource = DT; ddlToMonth.DataBind(); }