URLヘルパー

 // link to a controller 
 Url.Action("Home");
  
 // link to an action 
 Url.Action("Home", "Index");
  
 // link to an action and send parameters 
 Url.Action("Edit", "Product", new RouteValueDictionary(new { id = p.Id }));

http://geekswithblogs.net/liammclennan/archive/2008/05/21/122298.aspx


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2014-03-22 (土) 17:18:15