One DataSet - two WinForms

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

How can I bind controls on one WinForm to DataSet in another WinForm?
How can I make this DataSet available at design time on second WinForm?

Dan
 
1) Sit the DataSet in a module in VB or a class that
uses it as a shared property in a C# Class

2) I'm not sure about what you are doing with it at
design time. If you use a DataSet control, I don't think
it will work (but I'm not positive, I've just never done
it or seen it done). HOwever, you can reference it as
mentioned above at design time and you'll be able to get
to it.

Hopefully this helps.

Bill


W.G. Ryan
(e-mail address removed)
www.knowdotnet.com
 
Thank you Bill

I'm working with C#.

1. Please give me an example in C# to use DataSet as shared property in a
class.

2. At design time I want to bind controls from Form B (child) to tables from
DataSet control in Form A (parent). For example, I want to display/modify in
a separate child form all information from a row in a grid from parent form.
There is a way to do that?

Dan
 
Thank you Bill

I'm working with C#.

1. Please give me an example in C# to use DataSet as shared property in a
class.

2. At design time I want to bind controls from Form B (child) to tables from
DataSet control in Form A (parent). For example, I want to display/modify in
a separate child form all information from a row in a grid from parent form.
There is a way to do that?

Dan
 
Back
Top