A
Arthur Naoumidis
I have an AS.net web app that I am using to upoload data files into my
application. I am trying to upload a DBF file and I don't have access to
the associated CDX file - is there some option in the OLE Db connection
that will enable me to do this?
My code is:
myConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=" & Server.MapPath("../Uploads") & ";Extended Properties=""DBASE
III;HDR=Yes"""
mySelectQuery = "select * from " & w_file_name
Dim myConnection As New oledbConnection(myConnectionString)
Dim myCommand As New oledbCommand(mySelectQuery, myConnection)
myConnection.Open()
Dim myReader As oledbDataReader = myCommand.ExecuteReader()
Try
While
debug_write(myReader.Item(0))
End While
Finally
myReader.Close()
myConnection.Close()
End Try
I would appreciate any assistance.
Thanks
Arthur
application. I am trying to upload a DBF file and I don't have access to
the associated CDX file - is there some option in the OLE Db connection
that will enable me to do this?
My code is:
myConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=" & Server.MapPath("../Uploads") & ";Extended Properties=""DBASE
III;HDR=Yes"""
mySelectQuery = "select * from " & w_file_name
Dim myConnection As New oledbConnection(myConnectionString)
Dim myCommand As New oledbCommand(mySelectQuery, myConnection)
myConnection.Open()
Dim myReader As oledbDataReader = myCommand.ExecuteReader()
Try
While
debug_write(myReader.Item(0))
End While
Finally
myReader.Close()
myConnection.Close()
End Try
I would appreciate any assistance.
Thanks
Arthur