private void BindAcademicYear() { try { EWA_Common objEWA = new EWA_Common(); BL_Common objBL = new BL_Common(); objEWA.OrgId = Session["OrgId"].ToString(); DataSet ds = objBL.BindAcademicYear_BL(objEWA); ddlAcademicYear.DataSource = ds; ddlAcademicYear.DataTextField = "AcademicYear"; ddlAcademicYear.DataValueField = "AcademicYearId"; ddlAcademicYear.DataBind(); ddlAcademicYear.Items.Insert(0, new System.Web.UI.WebControls.ListItem("Select", "0")); } catch (Exception exp) { GeneralErr(exp.Message.ToString()); } }