|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Listbox DataSource Design binding problemI 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. Hi,
The dataset is not automatically filled in vs.net 2003 and vs.net 2002. My guess there is no data to show. Ken ---------------- Show quoteHide quote "ramses1" <hashemga***@gmail.com> wrote in message news:1139166152.129432.137380@g44g2000cwa.googlegroups.com... >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. >
Combobox in VB2005
problem with relative paths in VS/VB.net making image click fire codebehind function? newbie problem with array Problem Communicating Between Forms late bound form reference Calling Program A from Program B help with multiple forms on asp.net 1.1 page, please Class as an array Download free ebooks |
|||||||||||||||||||||||