i had a fileupload control and view button when i upload a file it goes to sql database when i click on view button it shows the uploaded file..
thats work fine,
but my problem is that user cannot upload same file it shows msg that file already uploaded please send the code c#

Biswa Pujarini MohapatraRank #465 · 5.4K reputationPosted Jan 16, 2014, 4:45 PM EST
1 ) Read all filenames from database and keep it in a Collection
2) before upload file always match with the list if equals or matches return else upload file
vishal mahajan11 reputationPosted Jan 16, 2014, 8:03 PM EST
please see my attach code file and send the code
vishal mahajan11 reputationPosted Jan 16, 2014, 11:16 PM EST
Biswa Pujarini MohapatraRank #465 · 5.4K reputationPosted Jan 16, 2014, 11:44 PM EST
vishal mahajan11 reputationPosted Jan 17, 2014, 12:51 AM EST