using
namespace
{
InitializeComponent();
}
errormessage.Text =
textBoxEmail.Focus();
textBoxEmail.Select(0, textBoxEmail.Text.Length);
con.Open();
cmd.CommandType =
adapter.SelectCommand = cmd;
adapter.Fill(dataSet);
welcome.TextBlockName.Text = username;
welcome.Show();
Close();
con.Close();
registration.Show();