[英]Does asp.net 4.0 webforms have url and form databinding?
I am not sure what this is called. 我不确定这叫什么。 If know know what it's called you can edit this post.
如果知道这叫什么,可以编辑此帖子。
asp.net mvc allows you to do this: asp.net mvc允许您执行以下操作:
public ActionResult Index(FormCollection fc)
{
Item.Add(fc);
return View();
}
It is nice that in MVC the FormCollection object is automatically populated with the relevant data. 很好的是,在MVC中,FormCollection对象会自动填充相关数据。 Is there anything like this in asp.net webforms?
在asp.net网络表单中是否有类似的东西?
使用Request.Form
属性 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.