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

I need to get the revision number for the file that I am uploading inside the database. If I like to make any changes to that file, the original should not be modified it should be version 1 and after I make changes to that file it should save as revision number 2. If I like to view that file it should display both the version and the user can choose the file based on the version. Is that possible in C#.

Thanks in Advance.
Posted
Comments
Herman<T>.Instance 21-Jul-11 5:35am    
your question is: Is that possible in C#.
The answer is sure!
Member 7946563 21-Jul-11 5:50am    
How
Herman<T>.Instance 21-Jul-11 6:11am    
what database do you use and how do you connect to it?
Herman<T>.Instance 21-Jul-11 6:17am    
You write:
I need to get the revision number for the file that I am uploading inside the database.

how is your tableDefinition made? Which fields are in?

1 solution

What are the files ? Are you right in assuming that there's a version number that will change with each update ? This[^] is what I found with google.
 
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