B
Brian Henry
What is the best way to pass a data set between objects? I have a custom
control which will depend on a dataset (kind of like a bound contorl, but im
handleing it differently) is it best to pass as a public variable or a
property? since a property only retrieves By value, and not by reference,
when you send a data set in does it make a copy of it for that object? or
just pass a reference similar to what an array would do in C++. What i need
to do is pass the data set to the custom control, do some updateing on the
data there then have it available for the application behind the contorl
(the parent form). Whats the best way to achieve this? thanks
control which will depend on a dataset (kind of like a bound contorl, but im
handleing it differently) is it best to pass as a public variable or a
property? since a property only retrieves By value, and not by reference,
when you send a data set in does it make a copy of it for that object? or
just pass a reference similar to what an array would do in C++. What i need
to do is pass the data set to the custom control, do some updateing on the
data there then have it available for the application behind the contorl
(the parent form). Whats the best way to achieve this? thanks