开发者

About using the mvccontrib grid in asp.net mvc 2

开发者 https://www.devze.com 2023-03-28 15:33 出处:网络
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 e

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

0

精彩评论

暂无评论...
验证码 换一张
取 消