Sharing a Typed DataSet Object!?

G

Guest

Hi,
I am wondering if there is a way to share a Dataset object on the main form
of my C# App between other forms that I can bind other forms controls to
this dataset (designer is not aware of a public member of the mdi parent
form)?

Or any better practice than sharing a dataset among forms? I need a
centeral managable access to the database!

thanks
 
M

Michael Nemtsev

Hello Leon_Amirreza,

As one of the solutions create a Common namespace with DataTable what will
be used withing you project

L> Hi,
L> I am wondering if there is a way to share a Dataset object on the
L> main form
L> of my C# App between other forms that I can bind other forms controls
L> to
L> this dataset (designer is not aware of a public member of the mdi
L> parent
L> form)?
L> Or any better practice than sharing a dataset among forms? I need a
L> centeral managable access to the database!
L>
L> thanks
L>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

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