D
Dan
I have 2 user controls that both share the same typed dataset (which uses
the typical parent child relationship). The first control fills the dataset
and then passes a reference to it to the second control. There is a time
when the first control needs to update the data in the dataset and re-fills
it. However, when that is done, the second control does not "see" that
change as the pointers to the memory locations are now out of sync. Does
anyone know how to get it so that if my first control updates the dataset,
the pointers will remain the same, so that the second control can "see" the
new data? I tried creating a temporary dataset, filling it, and then
copying it to the original, but that didn't seem to work either. Any
thoughts would be greatly appreciated.
the typical parent child relationship). The first control fills the dataset
and then passes a reference to it to the second control. There is a time
when the first control needs to update the data in the dataset and re-fills
it. However, when that is done, the second control does not "see" that
change as the pointers to the memory locations are now out of sync. Does
anyone know how to get it so that if my first control updates the dataset,
the pointers will remain the same, so that the second control can "see" the
new data? I tried creating a temporary dataset, filling it, and then
copying it to the original, but that didn't seem to work either. Any
thoughts would be greatly appreciated.