Can anyone help me by giving out a complete tutorial on the step by step way a connecting to a database using VB?
Recommended Answers
Jump to Posthello Awais
try this codeDim cn As ADODB.Connection 'ADODB Connection Object Dim rs As New ADODB.Recordset 'Recordset Object Dim sqlStr As String ' String variable to store sql command Set cn = New ADODB.Connection cn.ConnectionString = "Provider = MSDASQL;" & _ "Data Source=LocalServer;" & _ "Initial …
All 2 Replies
Reply to this topic
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.