I know this should be easy but...

  • Thread starter Thread starter Shaun
  • Start date Start date
S

Shaun

Please could someone tell me why I cannot get a listbox to list products in
an access database, i have connected to the data base and connected it to a
data grid ok but what am I missing in trying to list a tables column in a
listbox.

Shouldn't --- listBox1->DataSource = dataSet1 --- be correct.

When I open the list box it just comes up with...
System.Data.DataViewManagerListItemTypeDescriptor over and over again.

Sorry if i'm being stupid but i'm new to the .net visual studio.

Thanks in advance

Shaun
 
Hi Shoun,

I think you forget to tell what is the table, and/or what is the
displaymember

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top