restrict duplicates while uploading the excel data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gailxchian
    New Member
    • May 2014
    • 1

    restrict duplicates while uploading the excel data

    I want to restrict duplicates while uploading the excel data and to inform the user that the particular cell in excel contains duplicate value which is already exist in Sql Database.

    I have researched online regarding this problem but still do not understand without any sample codes. I have already done the importing part with SqlBulkCopy. Please help me! I have been sitting in front of the computer figuring it out for one whole day.. If possible, please provide me a sample codes.. Thank you.
    Attached Files
Working...