MOHAMMED1

I dont know how to connect mySQL with VB .NET 2005. Can u please guide me.

Re: Visual Basic Express Edition DATABASE CONNECTIVITY

djshades2004

Dim conn As New SqlConnection()

conn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Northwind.mdf;Integrated Security=True;User Instance=True"

This code is one of the snippets included in vb express, the easy way to access this is, When your in the code window right click and insert snippet, hope this helps





Re: Visual Basic Express Edition DATABASE CONNECTIVITY

Kamee

MOHAMMED1 wrote:
I dont know how to connect mySQL with VB .NET 2005. Can u please guide me.