IList<t> and BindingSource

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Q2hyaXM=?=

    IList<t> and BindingSource

    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
  • Ben Voigt [C++ MVP]

    #2
    Re: IList&lt;t&gt; and BindingSource

    Chris wrote:
    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 AutoGenerateCol umns property?
    >
    TIA
    >
    -CK

    Comment

    Working...