void ibtnPermissionUserDelete_Click(object sender, ImageClickEventArgs e)
{
for (int i = 0; i < gvUser.Rows.Count; i++)
{
CheckBox chkItem = (CheckBox)gvUser.Rows[i].FindControl("chkItem");
if (chkItem != null && chkItem.Checked)
{
HtmlInputHidden hdnID = (HtmlInputHidden)gvUser.Rows[i].FindControl("hdnID");
if (hdnID != null && !string.IsNullOrEmpty(hdnID.Value))
{
int FormUserID = Convert.ToInt32(hdnID.Value);
FormUserManager.Delete(FormUserID);
}
}
}
FillUsers(-1);
UserExitMode();
}
#endregion