Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Common.FillDropDownList(objEmpInfoMgr.SelectEmpNameWithID("A"), ddlSupervisor, "EMPNAME", "EMPID", true, "Select");
         Common.FillDropDownList(objSalaryHeadMgr2.SelectSalaryHeadCategoryWise("S"), ddlSalHead, true);
         hfIsUpadate.Value = "N";
         this.EntryMode(false);
         this.OpenRecord();
     }
 }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Common.FillMonthList(ddlMonth);
         Common.FillYearList(5, ddlYear);
         Common.EmptyTextBoxValues(this);
         lblMsg.Text = "";
         this.EntryMode(false);
         Common.FillDropDownList(objMstMgr.SelectSalaryHeadCategoryWise("V"), ddlSalHead, "HEADNAME", "SHEADID", true, "Select");
         ddlMonth.SelectedValue = Convert.ToString(DateTime.Today.Month);
         ddlYear.SelectedValue  = Convert.ToString(DateTime.Today.Year);
     }
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            hfIsUpdate.Value = "N";
            Common.EmptyTextBoxValues(this);
            lblMsg.Text = "";
            this.EntryMode(false);

            //Common.FillDropDownList(objEmpMgr.SelectSupervisor(), ddlEmployee, "EMPNAME", "EMPID", true, "Select");
            Common.FillDropDownList(objMstMgr.SelectSalaryHeadCategoryWise("V"), ddlSalHead, "HEADNAME", "SHEADID", true, "Select");
            Common.FillDropDownList_All(objMasMgr.GetDivision(), ddlIntervention);
            this.OpenRecord("0");
        }
    }