Posted on: 3/11/2012 9:20:24 PM | Views : 477

hello.
i downloaded microsoft vistual studio 2010 and sql server 2012.
i created a database(management studio) named ''11'' and i am trying to connect a windows form with this database but i have a problem
here is the code
SqlConnection con = new SqlConnection();         private void button1_Click(object sender, EventArgs e)         { 
con.ConnectionString = "server=.\\SQLEXPRESS;initial catalog=11;Integrated Security=true";                 con.Open();                 Form2 form = new Form2();                 form.Show();              
Go to the complete details ...