This question is locked. New answers and comments are not allowed.
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!!!
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!!!