R
ramses1
I can't see my table row members in the listbox?
I made the oledbconnection, oleDBDataAdapter and defined a DataSet:
Me.ListBoxLibraries.DataSource =
Me.LibraryConnectionsDataSet1.LibraryConnectionsTable
Me.ListBoxLibraries.DisplayMember = "Database"
Me.ListBoxLibraries.Location = New System.Drawing.Point(16, 16)
Me.ListBoxLibraries.Name = "ListBoxLibraries"
Me.ListBoxLibraries.Size = New System.Drawing.Size(144, 199)
Me.ListBoxLibraries.Sorted = True
Me.ListBoxLibraries.TabIndex = 0
Then I have the dataset defined later:
Me.LibraryConnectionsDataSet1.DataSetName =
"LibraryConnectionsDataSet"
Me.LibraryConnectionsDataSet1.Locale = New
System.Globalization.CultureInfo("en-US")
This code is within the Windows form designer generated code.
But when i run the application nothing appears in the listbox at all!
What am I missing?
ramses.
I made the oledbconnection, oleDBDataAdapter and defined a DataSet:
Me.ListBoxLibraries.DataSource =
Me.LibraryConnectionsDataSet1.LibraryConnectionsTable
Me.ListBoxLibraries.DisplayMember = "Database"
Me.ListBoxLibraries.Location = New System.Drawing.Point(16, 16)
Me.ListBoxLibraries.Name = "ListBoxLibraries"
Me.ListBoxLibraries.Size = New System.Drawing.Size(144, 199)
Me.ListBoxLibraries.Sorted = True
Me.ListBoxLibraries.TabIndex = 0
Then I have the dataset defined later:
Me.LibraryConnectionsDataSet1.DataSetName =
"LibraryConnectionsDataSet"
Me.LibraryConnectionsDataSet1.Locale = New
System.Globalization.CultureInfo("en-US")
This code is within the Windows form designer generated code.
But when i run the application nothing appears in the listbox at all!
What am I missing?
ramses.