protected void lnkAddDepartment_Click(object sender, EventArgs e)
 {
     string department = txtDepartment.Text;
     MasterEntries objMasterEntry = new MasterEntries();
     objMasterEntry.AddDepartment(department);
     grdDepartmentBind();
 }
Esempio n. 2
0
    protected void lnkAddDepartment_Click(object sender, EventArgs e)
    {
        string        department     = txtDepartment.Text;
        MasterEntries objMasterEntry = new MasterEntries();

        objMasterEntry.AddDepartment(department);
        grdDepartmentBind();
        txtDepartment.Text = string.Empty;
    }