ASP/ADO/VB.NET: How to update multiple datatables with typed datasets ?

Discussion in 'ASP .Net' started by Bauhaus, May 10, 2008.

  1. Bauhaus

    Bauhaus Guest

    I made a database (http://users.skynet.be/fc042048/Pizza.jpg) in Access
    which I want to use via typed datasets on my website. Problem is, if I i.e.
    want to edit the datatable "Pizza" in a gridview, I get the error "Can't
    delete or update the record because there are related records in the
    datatable "PizzaOnderdelen" (means Pizza Ingredients).
    What do I have to do to update the table ? Do I need to adjust my dataset
    file (contains only the table 'Pizza") or do I have to change my VB code (I
    made a Pizza object and update/delete/insert methods for the Pizza table) ?

    (Here's the source code: Solution
    (http://users.skynet.be/fc042048/Pizza (solution).rar) and Aspx files
    (http://users.skynet.be/fc042048/Pizza (aspx files).rar))

    Bauhaus.
    Bauhaus, May 10, 2008
    #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. psb
    Replies:
    1
    Views:
    2,521
    Cliff Harris
    Apr 1, 2004
  2. Replies:
    2
    Views:
    1,107
    William Buchanan
    Apr 11, 2006
  3. =?Utf-8?B?bWFuZ29tYW4=?=
    Replies:
    0
    Views:
    402
    =?Utf-8?B?bWFuZ29tYW4=?=
    Jan 1, 2007
  4. MattB
    Replies:
    5
    Views:
    834
    MattB
    Jun 13, 2007
  5. J055
    Replies:
    2
    Views:
    366
Loading...

Share This Page