Bind ArrayList of structures to DataGrid

B

Borr

Hi,

I am using DataGrid for first time now, and my data source
is an ArrayList. Every element of the ArrayList is a
struct that contains several members. I want to display
this ArrayList in my DataGrid in a very simple way : every
struct is a row, every member of the struct is a cell.

I looked through MSDN, but I found just how to bind
ArrayList of STRINGS. However elements of my ArrayList are
structs, not strings. Is there any way to do it and how to
define accordance between DataGrid columns and struct
members ?

Thank you in advance

Best regards

Borr
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top