my intention is to check a folder every so often and take the .txt files one by one and transfer the data in the text files into a sql server database table.
Should I use DTS within vb.net or some other means?
Thanks
You should look into the FileSystemWatcher component, its in the toolbox of VS under components tab. That components monitors the file system and raises events when something happens to the directory or files.
If its a simple data transfer, then DTS may be an overkill and will be just another point of failure. You can use BULK INSERT to insert the data into your tables.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.