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(); }
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"; } }