Ejemplo n.º 1
0
    protected void grdLeaveBind()
    {
        MasterEntries objMasterEntries = new MasterEntries();

        grdLeave.DataSource = objMasterEntries.GetAllTypeOfLeaves();
        grdLeave.DataBind();
    }
Ejemplo n.º 2
0
    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();
 }