Why can't i use
Dim cnn as new OleDbConnection ()
It is not recognized
Am I missing a reference to a library ?
:rolleyes:
Printable View
Why can't i use
Dim cnn as new OleDbConnection ()
It is not recognized
Am I missing a reference to a library ?
:rolleyes:
VB Code:
Imports System.Data.OleDb
Thank You!
There is but a faster way
Dim cnn as new OleDb.OleDbConnection ()
true, but if you're going to use any OleDb stuff, it's best to import it, that way you don't have to type that out every time ;) It also tells .NET to load the assembly that it needs ahead of time instead of the first time it needs it ;)