hi there i m having problems how do i connect to database in vb.net
tau
0
Newbie Poster
Recommended Answers
Jump to Posttry this :
first you must made module to connect access to vb.net
add this following code in your module connected :Module MyModule Public Function Conection() As OleDb.OleDbConnection Dim con As OleDb.OleDbConnection con = New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath.ToString & "\yourDatabaseName.mdb") Return con …
All 3 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
tau
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
ITKnight
commented:
yes
+1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.