Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > VS2005 & AccessDataSource

Reply
Thread Tools

VS2005 & AccessDataSource

 
 
Stephen D Cook
Guest
Posts: n/a
 
      11-14-2007
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?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
displaying Accessdatasource field in textbox using ASP.Net and VS.Net 2005 ? Luqman ASP .Net 4 01-25-2006 09:36 AM
AccessDataSource, help please;. =?Utf-8?B?QWxlc3NhbmRybw==?= ASP .Net 0 01-16-2006 08:32 PM
How to specify the password for access database file while using AccessDataSource? <eom> nicholas ASP .Net 1 01-12-2006 02:59 PM
GridView/AccessDataSource update msnews.microsoft.com ASP .Net 0 07-18-2005 11:01 PM
[Q]asp.net 2.0 + Gridview +AccessDataSource podong28 ASP .Net 1 04-19-2005 04:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57