摘要:
1.如何向页面中传递参数? public ActionResult Index(string id, Nullable<int> other) { this.ViewData["Other"] = other; return View(); } 上面中的id变量是在index页面初始化的时候,通过mvc framework来实现传递的(http://...?id=1)。2.如何制定form的action函数? <form action="ShowPostData" method="post"& 阅读全文
posted @ 2010-09-08 14:58
qiang.xu
阅读(874)
评论(0)
推荐(0)

浙公网安备 33010602011771号