protected void btnUpdateDepartment_Click(object sender, EventArgs e)
 {
     MasterEntries objMasterEntry = new MasterEntries();
     string departmentName = txtEditDepartment.Text;
     int Id = Convert.ToInt32(Session["departmentId"]);
     objMasterEntry.UpdateDepartment(Id, departmentName);
     grdDepartmentBind();
     popupEditDepartment.Hide();
 }
Example #2
0
    protected void btnUpdateDepartment_Click(object sender, EventArgs e)
    {
        MasterEntries objMasterEntry = new MasterEntries();
        string        departmentName = txtEditDepartment.Text;
        int           Id             = Convert.ToInt32(Session["departmentId"]);

        objMasterEntry.UpdateDepartment(Id, departmentName);
        grdDepartmentBind();
        popupEditDepartment.Hide();
    }