protected void oBButton_Click(object sender, EventArgs e) { userManager UM = new userManager(); errorLabel.Text = UM.opretBruger(TextBoxNavn.Text, TextBoxPass.Text, TextBoxMail.Text); // tøm textboxe for data TextBoxNavn.Text = ""; TextBoxMail.Text = ""; }