I'm using Rob Conery's Massive ORM, and I haven't been able to bind the resulting ExpandoObject
to a GridView
.
I did find another Stackoverflow question that suggests using a framework called impromptu, but I'm not sure if that would work for this. If you know it does, please provide a code sample to actually convert an ExpandoObject
to something that the GridView
control can bind to.
Worst case scenario, has anyone implemented an additional method (that can be shared) for Massive to convert the resulting ExpandoObject
to a POCO?
any help is greatly appreciated. Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…