private void Form1_Load(object Sender,EventArgs e) { SqlConnection con = new SqlConnection(); try { con.ConnectionString = @"Data Source = server;Initial Catalog = pubs;User Id= sa;pwd = Password"; con.Open() } } What is the output?

 Posted by deccansoft on 8/5/2010 | Category: C# Interview questions | Views: 1846


Compile time error. Expected catch or finally.


Asked In: Many Interviews | Alert Moderator 

Login to post response