I need to load the data from the latest file to SQL Server, I have to handle this in the SSIS using C# script. I am not good in C# scripting. We are using 2010 version.
ACCOUNT_20170703_030505.txt
ACCOUNT_20170703_022510.txt
ACCOUNT_20170703_060015.txt
Can you kindly help me how to fetch the latest file name in script and pass to SSIS.
Thanks in advance.