[问题] MVC 新增public ActionResult

楼主: g66932007 (孤单的人)   2014-04-05 00:00:08
请问为什么我在control加上一段
public ActionResult AAAA()
{
....
return josn;
}
前端的jquery datagrid url:'AAAA'
都不会进去AAAA里面呢?
没反应= =
作者: rex1224   2014-04-05 00:49:00
你的controller名称也要给,ex controller/action
作者: f198412 (frank)   2014-04-13 23:16:00
用 url:'@Url.Action("AAAA")' 路径就会自动产生

Links booklink

Contact Us: admin [ a t ] ucptt.com