Ejemplo n.º 1
0
    protected void lkbDeleteDepartment_Click(object sender, EventArgs e)
    {
        LinkButton    b              = (LinkButton)sender;
        int           Id             = Convert.ToInt32(b.CommandArgument);
        MasterEntries objMasterEntry = new MasterEntries();

        objMasterEntry.DeleteDepartment(Id);
        grdDepartmentBind();
    }
 protected void lkbDeleteDepartment_Click(object sender, EventArgs e)
 {
     LinkButton b = (LinkButton)sender;
     int Id = Convert.ToInt32(b.CommandArgument);
     MasterEntries objMasterEntry = new MasterEntries();
     objMasterEntry.DeleteDepartment(Id);
     grdDepartmentBind();
 }