Still, with your approach, even though a DataSet is not populated, it is STILL CREATED. An instance of an object, that takes time and memory to create and delete, when we do not use it at all.
Being a C++ programmer that for me is a big no no.
Thanks for the reply!
I know how to manually share that object, the whole idea is that I want to use the designer to make it easy to databind all my textboxes to the dataset.
What would be ideal for me is if in my local code I could have MyDataSet, and I could specify some attribute (or...
Ok say I have one form where I create some DataSet (in the visual editor, so it appears at the bottom). Now I want to re-use that exact same instance in a different control, so that I can see it in the visual editor as well (so I can easily bind it to any properties).
How can I achieve that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.