Import System.Data.SqlClient
Dim sConnection As String
sConnection = "Data Source=servername;User ID=sqlusername;Password=sqlpassword;Initial Catalog=CD;Persist Security Info=True;"
Dim SqlCon As New SqlConnection(sConnection)
SqlCon.Open
Dim sConnection As String
sConnection = "Data Source=servername;User ID=sqlusername;Password=sqlpassword;Initial Catalog=CD;Persist Security Info=True;"
Dim SqlCon As New SqlConnection(sConnection)
SqlCon.Open
No comments:
Post a Comment