SqlConnection conn2 = new SqlConnection("Data Source=*********;Integrated Security=False;User ID=roadman1977;password=*******"); conn2.Open();
SqlCommand com2 = new SqlCommand("SELECT COUNT (*) FROM SiteUser WHERE Username = @Username", conn2); com2.Parameters.AddWithValue("@Username", txtUsername.Text);
SqlDataReader Read = com2.ExecuteReader();
SqlCommand com3 = new SqlCommand("SELECT COUNT (*) FROM SiteUser WHERE License = @License", conn2); com3.Parameters.AddWithValue("@Username", txtLicense.Text);
SqlDataReader Read3 = com3.ExecuteReader();