protected void lnkAddDepartment_Click(object sender, EventArgs e)
 {
     string department = txtDepartment.Text;
     MasterEntries objMasterEntry = new MasterEntries();
     objMasterEntry.AddDepartment(department);
     grdDepartmentBind();
 }
Ejemplo 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;
    }