MVC3 Hi I have to bind the Datatable to webgrid in mvc3 also i have to apply paging for the same. but i am confused should i have to create a model for this or simply i can bind the datatable which contains complex column data to webgrid.
I have same datatable in asp where i simply bind it to grid datasource property. But i m not finding any ways to accomplish it in mvc3
我必须建立红树结构。
Reservation
Day Date Time CustomerName Party Size Type
TUE 13/01/2011 7.00 Sachin Marne 10 P1
08.30 Sagar Wagh 20 P2
TUE 14/01/2011 7.00 Sachin Marne 10 P1
08.30 Sachin Marne 20 P2
08.00 Sachin Marne 10 P1
08.30 Sachin Marne 20 P2
Please any one has any idea, Please suggest. Thanks, Sachin.