المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Problem with usercontrol and datasource



C# Programming
06-19-2009, 06:14 PM
Hello,
I have a problem, i have created a form and a user control. I have a database on SQL server. I have a combobox on my usercontrol and i would like to implement my combobox with my database. i've used the properties of the combobox to choose the datasource and choose my database and the right table but my combobox is empty.
Whereas if i create a combobox in my form and did the same things with my combobox i have the data inside.
I've tried lot of things but nothing is working , if someone know how to do this i would be very grateful
Thanks