protected void grdLeaveBind() { MasterEntries objMasterEntries = new MasterEntries(); grdLeave.DataSource = objMasterEntries.GetAllTypeOfLeaves(); grdLeave.DataBind(); }
protected List <Leaves> GetAllLeaves() { MasterEntries objMasterEntries = new MasterEntries(); List <Leaves> lstLeaves = new List <Leaves>(); lstLeaves = objMasterEntries.GetAllTypeOfLeaves(); return(lstLeaves); }
public void BindDropdown() { MasterEntries objMasterEntries = new MasterEntries(); ddlLeaves.DataSource = objMasterEntries.GetAllTypeOfLeaves(); ddlLeaves.DataTextField = "LeaveName"; ddlLeaves.DataValueField = "Id"; ddlLeaves.DataBind(); }
public void BindDropdown() { MasterEntries objMasterEntries = new MasterEntries(); ddlLeaves.DataSource = objMasterEntries.GetAllTypeOfLeaves(); ddlLeaves.DataTextField = "LeaveName"; ddlLeaves.DataValueField = "Id"; ddlLeaves.DataBind(); }
protected List<Leaves> GetAllLeaves() { MasterEntries objMasterEntries = new MasterEntries(); List<Leaves> lstLeaves = new List<Leaves>(); lstLeaves = objMasterEntries.GetAllTypeOfLeaves(); return lstLeaves; }
protected void grdLeaveBind() { MasterEntries objMasterEntries = new MasterEntries(); grdLeave.DataSource = objMasterEntries.GetAllTypeOfLeaves(); grdLeave.DataBind(); }