【发布时间】:2016-11-04 06:51:13
【问题描述】:
我有一个控制器 DPN,在该控制器中我有一个操作方法
[HttpGet]
public virtual ActionResult Report(string reportName)
{
str_ReportPath = string.IsNullOrEmpty(str_ReportPath) ? "/BundleDealer/" + reportName : str_ReportPath;
return View();
}
我想知道如何使用Url.Action 将参数传递给Report
我试过了,但是出错了
<a href="@Url.Action(MVC.DPN.Report(), "AffiliateTFNDailySummary")">Provider</a>
【问题讨论】:
标签: c# asp.net-mvc actionmethod