Click here to Skip to main content
14,664,450 members
Rate this:
Please Sign up or sign in to vote.
See more:
How can i validate excel file before upload in database using asp.net , That there is not any duplicate record and any other criteria as per my requirement
Posted
Comments
bbirajdar 17-Jan-13 4:09am
   
Read it in C# and apply validations and then insert into database
   
...which is after upload. However, this is right thing to do. "Before upload" is utterly impractical, to say the least.
—SA
bbirajdar 18-Jan-13 0:18am
   
I agree.. It HAS to be uploaded first to the server so that it can be validated...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100