VS2005 & AccessDataSource

S

Stephen D Cook

I have an ASP form with 3 textboxes and a button. I have it tied to an
Access Database. The textboxes are named Name, Address and
PhoneNumber.
In the Database, there are 4 Columns, CustID, CustName, CustAddress,
and CustPhone.

In VS 2003 I can use
Click Button1()
dataset("CustName") = Request.Form("Name.Text")
dataset("CustAddress") = Request.Form("Address.Text")
dataset("CustPhone") = Request.Form("CustPhone.Text")
dataset.Update
End Sub

If I try the same thing in VS 2005 I get an error of 'AccessDataSource
cannot be indexed because it has no default property'.

How would I enter similar code in VS 2005?
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top