c# - Multiple textbox controls on session object possible? -


i'm looking redirect user static form can review user profile info before submitted, , i've been told session object way this, have not seen how/if possible use multiple controls (i have textboxes, dropdowns, radiobuttons, etc). possible, , if so, syntax like?

store control value in session variable like..

session["textboxvalue"] = textboxes.text; session["textboxvalue"] = dropdowns.selecteditem.text; 

and access value when want it..

string textboxvalue = session["textboxvalue"] 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -