I am at the beggining stages of learning how to import an Access database to a Listbox in a form project in Visual Basic .net 2005 by doing the following:
1. Importing an Access database to my Data Source
2. Draging from tootbox a Dataset then linking my Database to it
3. Dragging in a Bindingsource and linking it to my Dataset
4. Dragging in a Listbox then linking it to my Bindingsource and table name.
After running program I can see the data.
The problem is that I was trying to create a User Control that would do the same thing and after running it my form shows up correctly but no data shows up on my listbox.
My goal is to create a User control that accesses a Database in order to use data as a Property choices.
Public Enum Input_TypeCircle = 1
Square = 2
Graph = 3
Text = 4
Listbox = 5
End Enum Private mInputType As Input_Type = Input_Type.Circle Public Property InputType() As Input_Type GetInputType = mInputType
End Get Set(ByVal value As Input_Type) If mInputType <> value ThenmInputType = value
Me.Invalidate() End IfEnd Set
End PropertyI wish to replace Input_Type Enum with a Database Table. HELP PLEASE!!!!!
Thanks.

Can't view Access Database in a grid for a User Control