[2005] DataSets and UserControls
I am getting strange behavior and do not know why.
I can set up a dataset (MDB) perfectly fine on the main form. I can drag (from Data Source Toolwindow) the fields onto the controls no problem.
But I have a usercontrol that I load as a form. But, I can not drag any of my table/fields onto any controls on the UserControl (aka form).
Why???
Thanks
Re: [2005] DataSets and UserControls
Does anybody know why I can not drag "data source" fields from the "Data Source" toolwindow onto controls that are in a UserControl??
Thanks
Re: [2005] DataSets and UserControls
Your UserControl may not support databinding.
Re: [2005] DataSets and UserControls
Why not and if it can, how do I make it accept data binding??
Re: [2005] DataSets and UserControls
It would depend if the author of the user control programmed in support for databinding.
Re: [2005] DataSets and UserControls
???
It is a "usercontrol1.vb" that is native to VB.NET.
It is not a control from somebody else.
I created the usercontrol using the "add Items" of VB.NET
All I am doing is...
Dim frm1 As usercontrol1
frm1.Show()
Re: [2005] DataSets and UserControls
Ok, then if your writting the user control then what controls are in it?
Re: [2005] DataSets and UserControls
Re: [2005] DataSets and UserControls
RobDogg,
I found out what it is. You were close. You made me check this out!! Thanks
It isn't a thrird party control, but I do inherit a thrird party docking control in my usercontrol1.vb. It adds a toolwindow titlbar/border to the "form" (aka my userc control)
So, I might not be able to bind it.
I will have to email QIOS to see how I can bind data to controls on my usercontrol1.
Thanks