protected void Page_Load(object sender, EventArgs e) { UserAccount ua = new UserAccount("Connor", "1234", "*****@*****.**"); txtusername.Value = ua.Username; txtpassword.Value = ua.Password; txtemail.Value = ua.Email; txtUName.Text = ua.Username; txtPword.Text = ua.Password; txtEm.Text = ua.Email; }
/// <summary> /// Replace user row with new user /// </summary> /// <param name="ua"></param> public void UpdateUser(UserAccount ua) { }