摘要:
Action public ActionResult Index() { return this.RazorView(); }ControllerExtensionspublic static class ControllerExtensions { public static ViewResult RazorView(this Controller controller) { return RazorView(controller, null, null); } public static ViewResult RazorView(this Controller controller, ob 阅读全文
posted @ 2012-02-25 19:39
Ry5
阅读(364)
评论(0)
推荐(0)
摘要:
Model public class SpreadsheetModel { public String fileName { get; set; } public String[,] contents { get; set; } }ACTION public ActionResult Excel() { SpreadsheetModel mySpreadsheet = new SpreadsheetModel(); mySpreadsheet.contents = new String[2, 2] { {"Cell11","Cell12"}, {&quo 阅读全文
posted @ 2012-02-25 19:08
Ry5
阅读(349)
评论(0)
推荐(0)
浙公网安备 33010602011771号