I have a data source as a DataTable [this will have a varying columns]. I want to bind this datatable to the mvc contrib's Grid in asp.net MVC2. I donot have a fixed mo开发者_如何学运维del that can explain my data.
Is it possible to do this in MVC Contrib Grid?.
Details are available here also in CodePlex
Here is Reply from Jeremy, regarding use of MVCContrib Grid in ASP.NET MVC 2.0
It is only designed to work with strongly-typed objects with a fixed number of columns - not dynamic objects and not datatables.
This post is closed
精彩评论