PC Review


Reply
Thread Tools Rate Thread

DataSet lost row in serialization

 
 
=?Utf-8?B?TWF1cmljaW8gUGlyZXM=?=
Guest
Posts: n/a
 
      14th Jan 2005
I created 2 programs. One is a service and the other is a windows form
client. The 2 programas comunicate by remoting.
The client program creates a dataset with 2 tables (parent and child
tables), adds some rows in these tables and calls a Service's method
passing the dataset as a parameter.
Before to call the Sevice's method I put a break point at the client
application and checked that the child table had 2 rows (Count=2) . At the
begnning of the Service's method I put another break point and I saw that now
the child table had 0 rows (Count=0).
What's wrong. I think there is a problem with serialization.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWF1cmljaW8gUGlyZXM=?=
Guest
Posts: n/a
 
      17th Jan 2005
Actually I have a dataset with 2 tables (father and child table) and a
relation between them with cascade for update and delete. I also have a
client application and a remote application.
If the client application delete a existing father's row and afterwards
create the same father's row (same field values) and a child row and call a
remote application' method by remoting, you will see that there is no child
row in dataset at the remote application's method.
I think serialization lost the child row.

Can someone help me?

 
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
DataSet - Custom XML Serialization Just D. Microsoft C# .NET 2 29th Apr 2009 09:03 AM
Dataset serialization =?Utf-8?B?QnJpYW4gS2VhdGluZw==?= Microsoft C# .NET 4 26th Jul 2005 01:25 PM
Serialization of arrays in dataset =?Utf-8?B?Q29s?= Microsoft Dot NET Compact Framework 0 10th Nov 2004 11:10 AM
DataSet serialization Viorel Ghilas Microsoft ADO .NET 2 6th Feb 2004 01:46 PM
DataSet serialization Viorel Ghilas Microsoft Dot NET Framework 0 4th Feb 2004 09:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 AM.