I receive most of my variables between my pages using Request.Form(“foo”) in my web application. Is it possible to pass entire Request.Form to a function and then extract my data using like this?
public string extract(myRequest){
//blah blah
return processed_data
}
If yes, What’s the type of myRequest?
Sure it’s possible.
Request.Formis aNameValueCollection. I suggest reading up on the documentation.