标签:
控制器代码:
DataTable dt = ;
DataTable dt2 = ;
List<DataTable> lisdt = new List<DataTable>();
lisdt.Add(dt);
lisdt.Add(dt2);
ViewData["lis"] = lisdt;
视图代码:
@{List<DataTable> lis = ViewData["lis"] as List<DataTable>;
}
标签:
原文地址:http://www.cnblogs.com/lovejunjuan/p/4940197.html