示例#1
0
    protected void GrdIP_RowDeleting(object sender, GridViewDeleteEventArgs e)
    {
        int ChekDelete = DALC.DeleteUsersPermissionIP(GrdIP.DataKeys[e.RowIndex]["ID"]._ToInt32());

        if (ChekDelete < 1)
        {
            Config.MsgBoxAjax(Config._DefaultSystemErrorMessages, Page);
            return;
        }
        GrdIP.Rows[e.RowIndex].Visible = false;
        DALC.AdministratorsHistoryInsert(BtnAllPermissionSave.CommandArgument + " № li istifadəçinin " + GrdIP.DataKeys[e.RowIndex]["Ip"]._ToString() + " № li Ip-si ləğv edildi.");
    }