system.data

  • Thread starter Thread starter rbutch
  • Start date Start date
R

rbutch

guys im using a web app (asp.net)VS/VB.net and connecting to access
but, having a problem with the inserts.

i use a
import System.Data
import System.Data.OleDb

and then:

Dim table as DataTable
Dim newRow as DataRow
but, when i use: table= data.Tables("someTbl")

after the dot intellisence doesnt have "Tables" to choose from.
it just plain doesnt exist.

the error tells me Tables is not a member of data.

now this is straight out of a wrox press book, so its got to be right.
has this happened to anyone else or is this just me?
is there some reference(s) or other imports i need to add here?:
thanks
rik


**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
based on that snippet, there should be something somewhere that says...
Dim data as Dataset

rik butcher said:
guys im using a web app (asp.net)VS/VB.net and connecting to access
but, having a problem with the inserts.

i use a
import System.Data
import System.Data.OleDb

and then:

Dim table as DataTable
Dim newRow as DataRow
but, when i use: table= data.Tables("someTbl")

after the dot intellisence doesnt have "Tables" to choose from.
it just plain doesnt exist.

the error tells me Tables is not a member of data.

now this is straight out of a wrox press book, so its got to be right.
has this happened to anyone else or is this just me?
is there some reference(s) or other imports i need to add here?:
thanks
rik


**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
 
Back
Top