PC Review


Reply
Thread Tools Rate Thread

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

 
 
Bauhaus
Guest
Posts: n/a
 
      10th May 2008
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%20(solution).rar) and Aspx files
(http://users.skynet.be/fc042048/Pizza%20(aspx%20files).rar))

Bauhaus.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Re: ASP/ADO/VB.NET: How to update multiple datatables with typed datasets ? Bauhaus Microsoft ADO .NET 6 14th May 2008 06:06 PM
Combining and relating DataTables from different typed DataSets in =?Utf-8?B?TWFyYyBXb29sZnNvbg==?= Microsoft ADO .NET 1 4th Oct 2007 05:12 AM
Typed datasets with multiple datatables? =?Utf-8?B?RGF2ZQ==?= Microsoft ADO .NET 1 30th Apr 2007 05:36 PM
Inheriting Typed DataSets and DataTables =?Utf-8?B?UnlhbiBTaGF3?= Microsoft Dot NET Framework 4 20th May 2004 02:16 PM
Inheriting Typed DataSets and DataTables =?Utf-8?B?UnlhbiBTaGF3?= Microsoft VB .NET 1 20th May 2004 01:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:14 AM.