How to set connection string in vb.net

Joined
Mar 12, 2007
Messages
11
Programming Experience
Beginner
Hi, i would like to know how should i set my connection string in vb.net?

In my VB6 code, this is how i set my connection string:
conDetail.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\FCC\Desktop\vb.net(new1)\SapWVA\Data\100\WVAdvert.MDB;Persist Security Info=False;"

My question here is, how do i do the same thing in vb.net?

Please help.
Many thanks.
 
read the DW2 link in my signature, starting with "creating a simple app" and move on to "connecting to data" "fetching data" and any other topics that interest you
 
Back
Top