This is a migrated thread and some comments may be shown as answers.

can grid bind to a data structure like this?

0 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
xu
Top achievements
Rank 1
xu asked on 11 Jan 2012, 10:54 AM
can grid bind to a data structure like :
public class a
{
      public string name {get; set;}
      IList<b> bs {get; set;}
}

public class b
{
     public string Title{get; set;}
     public string Value{get; set;}
}

and the result shoule be like this:
  header: Name    title1    title2    title3
  recoed:  name1 value1 value2 value3
if can ,how to do this?
thanks!!!
Tags
Grid
Asked by
xu
Top achievements
Rank 1
Share this question
or