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:
public ActionResult Index(FormCollection fc)
{
Item.Add(fc);
return View();
}
It is nice that in MVC the FormCollection object is开发者_Python百科 automatically populated with the relevant data. Is there anything like this in asp.net webforms?
Use the Request.Form
property.
精彩评论