D
Don
here is a snipet of code i am using
Dim myConnection As New OleDbConnection
("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=c:\customers\other\g2.mdb")
Dim myCommand As New OleDbCommand("SELECT * FROM catalog
numbers", myConnection)
myConnection.Open()
Dim myReader As OleDbDataReader = myCommand.ExecuteReader
(CommandBehavior.CloseConnection)
the connection opens but the program fails on the
ExcuteReader command. The error is a follows:
"An unhandled exception of
type 'System.Data.OleDb.OleDbException' occurred in
system.data.dll"
the following import statements are used:
Imports System
Imports System.Data
Imports System.Data.OleDb
any help would be appreciated. thanks
Dim myConnection As New OleDbConnection
("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=c:\customers\other\g2.mdb")
Dim myCommand As New OleDbCommand("SELECT * FROM catalog
numbers", myConnection)
myConnection.Open()
Dim myReader As OleDbDataReader = myCommand.ExecuteReader
(CommandBehavior.CloseConnection)
the connection opens but the program fails on the
ExcuteReader command. The error is a follows:
"An unhandled exception of
type 'System.Data.OleDb.OleDbException' occurred in
system.data.dll"
the following import statements are used:
Imports System
Imports System.Data
Imports System.Data.OleDb
any help would be appreciated. thanks