Global (static) DataSet and VisualStudio.net 2003

O

Oliver Moss

Hello,

I have an MDI Parent with a lot of childs. Each child uses the same
DataSet (Schema) but with an new instance on every form.

The child forms contain different grids, combo boxes, textboxes which
are bounded to the DataSet.

My question is: How can I use the VisualStudio.NET 2003 Designer to set
data binding if I use a static dataset instead of one dataset instance
on each form?
And what could be the "best" design for an .net MDI application with a
lot of child forms if I want use the VisualStudio Designer?

Thank you,

Oliver Moss
 
L

Luigi

If your problem is only to use the VS designer you could
assign in the load event the Global dataset to the dataset in your form.
So at design time you use the dataset in each form but at runtime you use
the global one.
 
O

Oliver Moss

Hallo Luigi,

thank you very much. At least it is a possible way. I thought, that I
could inhire a form with a static DataSet on it. But this ends with a
total confusion of my VisualStudio.net 2003 generated code in the
inhired form. I found that this is a known bug in VS.NET 2003 if I use
DataSets with contraints...

Thank you,

Oliver
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top