I am using LogParser tool (MSUtil dll) to insert data in db through SSIS Package.
I am using following code in script task component:
Looping through log files and using following :
based on this
I create my data and I store them in a datatable.
Now I have another datatable which I fill it from my database.
I need to remove the duplicates from the first datatable and fill a datagridview.
This is what I have so far...
I would like to know, how can I delete a file, after checking if it exists on the hard disk, if yes, then delete it, using C# in asp.net?