Hello. How can i know the data source of my sql 2008?
Dim strconnection As String = "Data Source=.............;Initial Catalog=DatabaseConnection;Integrated Security=True;"
How am i suppose to know the the data source?
i it my computer name?

'SQL Connection String
sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\yourdatabase.mdb"

If your using MySQL then use standard Connector:


on your code:

Dim strconnection As String = "Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;"

For more connectionString reference visit here