Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HOW CAN I MOVES USERS INFORMATION ACCROSS MANY PAGES (SAY 1-15 pAGES) AFTER THEY HAVE LOG IN TO A WEB APPLICATION AND SUBMIT ALL THE INFORMATIONS BEING GATHERED TO MY MS-SQL DATABASE IN THE LAST WEB PAGE.
Posted

You can use state management techniques. read below article
I prefer to session variable.

State Management in ASP.NET - Introduction[^]
 
Share this answer
 
Comments
MUYIDEEN KAZEEM KAZEEM 18-Oct-13 11:00am    
Thanks to all i really appreciate ur effort. May Almighty Allah Reward u and grant u more knowledge and understanding.
Thanks TrushnaK. I really appreciate.
 
Share this answer
 
Comments
TrushnaK 18-Oct-13 4:29am    
welcome....
MUYIDEEN KAZEEM KAZEEM 18-Oct-13 11:00am    
Thanks to all i really appreciate ur effort. May Almighty Allah Reward u and grant u more knowledge and understanding.

@ Ashwani Gusain788: what of if a av multiple values,will i create a session variable for each values. example:session["Name"]=Your Varriale; session["Address"]=Your Varriale;session["sex"]=Your Varriale; etc and store the values in my database at the last page(by clicking submit button in the last page.)
there are may ways to do this but the best way is to create sessions

u can create as i mention below.

this is for sending values
C#
session["Name"]=Your Varriale;


this is for retriving values

C#
string Name=session["Name"].tostring;


and you can read this also.

Exploring Session in ASP.NET[^]
 
Share this answer
 
v2
Comments
MUYIDEEN KAZEEM KAZEEM 18-Oct-13 10:59am    
Thanks to all i really appreciate ur effort. May Almighty Allah Reward u and grant u more knowledge and understanding.

@ Ashwani Gusain788: what of if a av multiple values,will i create a session variable for each values. example:session["Name"]=Your Varriale; session["Address"]=Your Varriale;session["sex"]=Your Varriale; etc and store the values in my database at the last page(by clicking submit button in the last page.)
MUYIDEEN KAZEEM KAZEEM 18-Oct-13 11:06am    
lets me explain better. i av a login page. if a user login is successfully, the user will be taken to another page where he/she will fill a personal details form and the user will click a button to go to the next page to fill another defferent form and the user will also click another next button to go to the finally page, so in the final page there is a submit button d user will click on to submit all the information being enter from the first page to the last page and sll this information will goes into a ms-sql-server database

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900