Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
How to show a two dimensional List in grid
posted
Hi

I have a List> Matrix = new List>();

How can I show this double List in a wingrid? What I want to show is a
bitmap, which is generated by SomeClass.

The inner List should be the x-axis and the outer List the y-axis.

Can you please point me into the right direction where to find some more
informations.

A single List can be shown in the grid, I know, but then I only have one
column.

Thanks
Michael
Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     Hi Michael,

        I don't understand your question. The code you show here only has one list. Where does the "double list" part come in?

        If you bind the grid to a generic list, then the type of object in the list determines the columns in the grid. Each public property on the object will be a column and each item in the list is a row.  

Children