Skip to content

How will remove the duplicating entries in excel through c# coding?

hitesh oberoi

Asked Feb 17, 2009, 12:42 AM EST2 answers
Share
LinkedInX
Suppose I insert and update the data in excel through c# coding but how will I stop the duplicating entries store in database (excel sheet). plz help. Thanx in advance.

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mahesh Chand
    0

    This will be done in your code before you save them. You need to first get data and loop through each item and see if there are any duplicates and delete them from the object such as a DataTable. Then you write to Excel.

    0
  • 0
    But how will I check what is the code for that? Plz tell.
    0