摘要:
最近在用mvc3做项目,常走一些弯路,在此记录View传参数到Controller中的Action,Action接收参数的四种方式1.示例modelpublic class testModel { public String A { get; set; } public String B { get; set; } public String C { get; set; } public String D { get; set; } } 2.示例View@{ ViewBag.Title = "test1";}@model MvcApplication2.Models.tes 阅读全文