Object Datasource

  • Thread starter Thread starter Diarmuid
  • Start date Start date
D

Diarmuid

I'm trying a sample from a book, but I can't get it to work fully. My Create
datasource sees my class fine. When I drag my Computer Class onto the form,
in datagridview format, it looks fine in design. But when I run it, theres
no data in the grid. Any suggestions? Or an example, so I can see where I'm
going wrong.
Thanks
Diarmuid
 
Its ok, I figured it out. I need to refresh the datasource after I create
the Computers array. As below.
Me.ComputerBindingSource.DataSource = Computers
 

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