Author: doshi_krunaln | Posted on: 2/19/2009 3:27:59 AM | Views : 325

Hi,

I am using FileUpload control in C# to upload files into database in my web application. My requirement is that I need to have Date Created, Date Modified and Last Access date of the file being uploaded and store the same into my database.

I used "System.IO.File.GetCreationTime(finfo.FileName).ToShortDateString();" which is working fine in my local system. But after deploying on my webserver, it is giving me only "12/31/1600".

Does any one know any work around this?

Regards,
Krunal
...

Go to the complete details ...