Binding an array to a datagrid on a winform in VB.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ed

    Binding an array to a datagrid on a winform in VB.net

    Hi there,

    I have a two dimensional array which I would like to bind to a datagrid,
    however I've spent all afternoon googling for a solution and I can't find one
    anywhere. The best I've come up with is binding a 1 dimensional array to a
    datagrid and that for whatever reason gives me the array element lengths
    rather than the values.

    Any pointers or help would really be appreciated, in VB.net is possible?

    Thanks
    Ed

  • Cor Ligthert [MVP]

    #2
    Re: Binding an array to a datagrid on a winform in VB.net

    Ed,

    Just use a datatable, that does not cost you a complete afternoon.



    And you can do so much more with it,

    I hope this helps,

    Cor


    Comment

    Working...