Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataSource Property for UserControl

Status
Not open for further replies.

ufobaby

MIS
Sep 25, 2001
238
US
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

__________
[cheers]
Niraj...
"The unexpected success is not just an opportunity for innovation. It demands innovation."
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top