ServerConnection
ProgressBar
if (comboBox1.Text == "SQL Server Authentication") { Class1.cs = "Data Source= " + System.Environment.MachineName + ";Initial Catalog=Kolkata_Dental;User ID=" + textBox2.Text + ";Password=" + textBox3.Text + ""; SqlConnection con = new SqlConnection(); con.ConnectionString = Class1.cs; con.Open(); Class1.connection = true; MessageBox.Show("Connection estabilished Successfully!!!"); con.Close(); Home_Page frm = new Home_Page(); frm.Show(); this.Hide(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)