sql connection variable

  1. S

    Connection parameters in variable

    Hi all, My application (vb.net 2008) connects to sql server 2005 express. When I hardcode the following it works with no problem: Dim objconnection As SqlConnection = New SqlConnection("server=.\SQLEXPRESS;database=tstDB;Trusted_Connection=True;") objconnection.Open() But ofcourse I don't...
Back
Top