K
Kevin
I am pretty new to C# and .NET and am using VS 2005.
Let's assume I have an MDI application with various child windows, each of
which will need access to a database. My question is: where would be the best
place to instantiate the DataAdapter and DataSet objects so I would only have
to do so once in the application and make them available to all of the child
windows?
Would I define them as public somewhere in the MDI parent? I'm just not sure
what the best approach would be.
Thanks in advance for your help!!
Kevin
Let's assume I have an MDI application with various child windows, each of
which will need access to a database. My question is: where would be the best
place to instantiate the DataAdapter and DataSet objects so I would only have
to do so once in the application and make them available to all of the child
windows?
Would I define them as public somewhere in the MDI parent? I'm just not sure
what the best approach would be.
Thanks in advance for your help!!
Kevin