クエリ文字列 †URL: http://localhost/Home?id=9&Value1=xx&Value2=yy public class ValueModel { public string Value1 { get; set; } public string Value2 { get; set; } } public class HomeController : Controller { public ActionResult ShowId(int id, ValueModel val) { return Content(val.Value1 + "-" + val.Value2); } } 本当にほしかったのはこういうブログだったんだ コメント: |