system.data

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...
 
D

David Jessee

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,082
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top