Exemple #1
0
    protected void btnActiveInActive_Click(object sender, EventArgs e)
    {
        string UserID = Utility.GetCheckedRow(GrdUsers, "chkSelect");

        if (UserID != "")
        {
            Global ObjUser = new Global();
            ObjUser.ActiveInActiveUsers(UserID);
            BindUsers();
            SuccessMessage("User(s) Status Changed Successfully.");
            lnkNorec.Visible = false;
        }
        else
        {
            ErrorMessage("Please Select User (s) to change status.");
        }
    }