예제 #1
0
        protected void Update_Click(object sender, EventArgs e)
        {
            ApproveUsersFunction inter = new ApproveUsersFunction();

            inter.UpdateUserStatus(new Basic.SoftwareUsers.User(idOfU, Mail.Text, "", Fname.Text, Lname.Text, Mphone.Text, statusdd.Text));
            popUser();
        }
예제 #2
0
        void popUser()
        {
            ApproveUsersFunction inter = new ApproveUsersFunction();

            listU.DataSource = inter.UnknownUsers();
            listU.DataBind();
            if (listU.Rows.Count == 0)
            {
                updateUser.Visible = false;
                NoUser.Text        = "No Unknown User Exists";
            }
        }