标签:cte raw nes line word arp ssm csharp 如何
function
Search()
{
var
businessDate = GetSelectedBusinessDate(
"#businessYear"
,
"#businessMonth"
);
var
ul=
‘ @Url.Action("Query", "FileImport", new { BusinessDate = businessDate })‘
$(
‘#dg‘
).datagrid({ url: url });
}
public
RouteValueDictionary ParseQueryStringToRouteValues(
string
queryString)
{
var parsed = HttpUtility.ParseQueryString(queryString);
Dictionary<
string
,
object
> querystringDic = parsed.AllKeys
.ToDictionary(k => k, k => (
object
)parsed[k]);
return
new
RouteValueDictionary(querystringDic);
}
var url = Url.Action(
"eft"
,
"ABC"
,ParseQueryStringToRouteValues(
"AA=bb&cc=dd&&eefff=aaa"
)) ;
用
new
{} 形式好像不行,
至少用
return
RedirectToAction(
"CouponGrant"
, ParseQueryStringToRouteValues(
"Couponid="
+ cg.CouponId));
取不到参数
mvc4中 @Url.Action 如何读取javascript变量的值
标签:cte raw nes line word arp ssm csharp 如何
原文地址:http://www.cnblogs.com/sjqq/p/7613260.html