IList<t> and BindingSource

C

Chris

Hi All,

I'm really not sure what I am doing wrong here, but when I try to bind my
custom IList type to a bindingSource and thus to a datagridview there are no
columns or data in the grid.

I even put all the items in an arraylist and tried to bind to that and
nothing is showing up. Not sure what code I should post to help fix this,
but I really appreciate the help.

TIA

-CK
 
B

Ben Voigt [C++ MVP]

Chris said:
Hi All,

I'm really not sure what I am doing wrong here, but when I try to
bind my custom IList type to a bindingSource and thus to a
datagridview there are no columns or data in the grid.

I even put all the items in an arraylist and tried to bind to that and
nothing is showing up. Not sure what code I should post to help fix
this, but I really appreciate the help.

Did you set the DataGridView's AutoGenerateColumns property?
 

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

Top