protected void LnkDeleted_Click(object sender, EventArgs e) { LinkButton Lnk = sender as LinkButton; //admin olub olmadigin yoxlayaq if (DALC._GetAdministratorsLogin.UsersStatusID != 30) { return; } int result = DALC.DeactivateUsers(Lnk.CommandArgument._ToString()); if (result > 0) { Config.MsgBoxAjax("İstifadəçi deaktiv edildi.", true); BindGrid(); } else { Config.MsgBoxAjax(Config._DefaultErrorMessages); } }