在使用ASP.NET MVC过程中想必大家都有遇到过一个问题就是我们的Action如何向视图传递匿名类型的值呢,如果不做特殊处理则无法实现. 接下来我们来看一个示例: 在我们的控制中: using System.Collections.Generic; using System.Web.Mvc; namespace TianYa.DotNetShare.MvcDemo.Controllers { public class DemoController : Controller { // GET:
Custom Parameter-id Creation By Abhijit Daptary, Capgemini India Step1: Creation of parameter ID. Parameter ID can be created in the table TPARA. Just enter the name of the parameter id in the table and that parameter ID will be created. Go to