Hi Earl,
IMO you should use a DataSet per operation (normally this is a form). For
example: editings/adding new order.
As per your problem, you have two choices:
Either not use DataRelations or watch out the data you wipe out (don't clear
related data - go row by row and use DataRow.Remove).
Again, you should really opt for a dataset per operation rather than one big
global.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
Blog:
http://cs.rthand.com/blogs/blog_with_righthand/
SLODUG - Slovene Developer Users Group
www.codezone-si.info
"Earl" <(E-Mail Removed)> wrote in message
news:uzbqr%(E-Mail Removed)...
>I don't want to create a new dataset every time I load a different form.
>
> "Cor Ligthert [MVP]" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Earl,
>>
>>> I'm using a Public dataset in the module for all data throughout the
>>> project. For most forms, this is great, no need to instantiate a new
>>> object, just clear the datatables and reload as needed.
>>>
>> Before we start discussing how to resolve your problem. Why are you doing
>> this. what is the advantage you want to win?
>>
>> Cor
>>
>
>