Click here to Skip to main content
15,904,024 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using the file upload in my project. I like to set the revision number for the file which I am uploading in the database. i.e. I will upload a sd.doc file for first time it will be saved as version 1. After I am downloading that file I will make some changes and I will save that it should be saved as version 2. While viewing it should show both the version and I should choose the file based on the version. Can any one help me to solve this issue.

Thanks in Advance.
Posted

1 solution

You need to set the revision number to a new one everytime a file is saved.
So, see here[^].
 
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