Beispiel #1
0
        protected void btnDeleteUser_Click(object sender, EventArgs e)
        {
            string userIDs = hfSelectedUser.Value;

            hfSelectedUser.Value = "";


            if (userIDs.LastIndexOf(',') == (userIDs.Length - 1))
            {
                userIDs = userIDs.Remove(userIDs.LastIndexOf(','));
            }

            //DBManager.DeleteUserProfile(userIDs, "-1");
            UserProfileBLL bll = new UserProfileBLL();

            bll.DeleteUserProfile(userIDs);
            BindData();
        }