Click here to Skip to main content
15,886,789 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have application which have one form
in that form i want facility that user can click on button "i will complete form next time" after that when user open next time that form should be filled out with his/her previous data.................

Please help me how to ?

i have multiple attachments also and i have around 60 fields so whatever user enter first time second time all the values must be retrieved whatever user have entered first time......
Posted
Updated 2-Jul-13 21:24pm
v3
Comments
Dholakiya Ankit 3-Jul-13 2:31am    
sorry for incomplete q
but i have multiple attachments also and i have around 60 fields so whatever user enter first time second time all the values must be retrieved whatever user have entered first time......
ErBhati 3-Jul-13 4:22am    
I think the solution2 from Nirav is easy and good try it
Qadri Jillani 4-Jul-13 4:03am    
solution2 is a better and simple solution for you. give it a try

You should put checkbox for nexttime Complete there and code
first of all you make column in table "isRetrieve "datatype is int

if checkbox is selected on registration then insert 1 in column "isRetrieve"

now second time retrieve all data of user and if isRetrieve is 1 then fill all data in controls
else dont fill...:)
 
Share this answer
 
v2
In case you have to store previous data in Database level.
 
Share this answer
 
If each user of your web page has his own "account" in such way he can save his own status in the database. Otherwise you can save the form data into cookie.
 
Share this answer
 

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