VS2005 & AccessDataSource

Discussion in 'ASP .Net' started by Stephen D Cook, Nov 14, 2007.

  1. 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?
    Stephen D Cook, Nov 14, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. podong28
    Replies:
    1
    Views:
    500
    Brock Allen
    Apr 19, 2005
  2. msnews.microsoft.com

    GridView/AccessDataSource update

    msnews.microsoft.com, Jul 19, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    3,292
    msnews.microsoft.com
    Jul 19, 2005
  3. nicholas
    Replies:
    1
    Views:
    1,430
  4. =?Utf-8?B?QWxlc3NhbmRybw==?=

    AccessDataSource, help please;.

    =?Utf-8?B?QWxlc3NhbmRybw==?=, Jan 16, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    356
    =?Utf-8?B?QWxlc3NhbmRybw==?=
    Jan 16, 2006
  5. Luqman
    Replies:
    4
    Views:
    6,688
    Luqman
    Jan 25, 2006
Loading...

Share This Page