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 9/18/2010 | Category: C# Interview questions | Views: 2979


Compile time error. Expected catch or finally.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response