hi all,
i have a usercontrol which has DbGrid, ComboBox, ListBox. the
usercontrol is supposed to perform some database query.
need to set a single DataSource property for all the controls i.e when
my usercontrol is dropped on the form, the properties window should
should show a DataSource property and the user can then select the same.
this should be just like selecting the DataSource property for the
DbGrid or any control. the only difference here is it is for the entire
user control.
how do i do this
__________
Niraj...
"The unexpected success is not just an opportunity for innovation. It demands innovation."
i have a usercontrol which has DbGrid, ComboBox, ListBox. the
usercontrol is supposed to perform some database query.
need to set a single DataSource property for all the controls i.e when
my usercontrol is dropped on the form, the properties window should
should show a DataSource property and the user can then select the same.
this should be just like selecting the DataSource property for the
DbGrid or any control. the only difference here is it is for the entire
user control.
how do i do this
__________
Niraj...
"The unexpected success is not just an opportunity for innovation. It demands innovation."