我在我的MVC應用程序中使用MvcContrib網格控件。繼在Pro * ASP.NET MVC書中的例子,我有下面的類和分頁助手創建 公共類PagingInfo {
public int TotalItems { get; set; }
public int ItemsPerPage { get; set; }
public int CurrentPage { ge
使用mvccontrib網格我有一個數據源,一個DataTable [這將具有變化的列。我想將這個數據表綁定到asp.net MVC2中的mvc contrib的Grid。我沒有一個可以解釋我的數據的固定模型。 是否有可能做到這一點在MVC的Contrib網格? Details are available here also in CodePlex
我已經定義了以下選擇列表: <%= this.Select("Scope")
.Options(Scopes.AllValues) // static property to get all possible values
.FirstOption("Select scope")
.Class("required")
.Selected(Model.