Save attachement and erase older file

Please close this thread marking answer as solution to your initial question.

you can use Directory.GetFiles will give you array of strings
then you can convert your string to datatable(see below thread)

1 Like