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.
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.