Hi, wanna ask question
Is there any code that can check which CSV file has not been read yet in c#?
I want to create windows service, and that windows service can read CSV files and push into database.
I want to create windows service, and that windows service can read CSV files and push into database.
after finish save in the database, the service will continuously loop and look at which CSV file has not been read yet.
If there any code, can someone teach me
thank you
I'm using visual studio 2019, c#
Jenith ThakkarPosted Jul 13, 2020, 3:41 AM
you can create a watcher using windows service and use to insert record in every interval
https://www.c-sharpcorner.com/UploadFile/7d3362/create-file-watcher-window-service-in-C-Sharp/
Check this example
Posted Jul 13, 2020, 4:12 AM
Posted Jul 13, 2020, 4:12 AM