只有注册用户登录后才能阅读该文。 Read More
posted @ 2011-02-05 05:21 Jian, Li Views(91) Comments(0) Diggs(0)
In Global.asax file:[代码]1. ActionLink uses the default route (“{controller}/{action}/{id}”,), therefore:%: Html.ActionLink(dinner.Title, “Details”, new { id=dinner.DinnerID }) % // the first parameter is the innerHTML of the a/a tagthe action will be Detail , and then will generate the html li Read More
posted @ 2011-02-05 05:18 Jian, Li Views(160) Comments(0) Diggs(0)