Can anybody suggest some code that would allow me to open and then read a text file and then return the results within a datatable?
The complicated element is that this code will run inside a Window Service so I only want to read entries that have been written within the past 24 hrs.
The log data looks like this:
25/07/2014 15:55:55 - Log Data
25/07/2014 16:05:57 - Log Data
25/07/2014 16:05:58 - Log Data
28/07/2014 07:41:43 - Log Data
28/07/2014 08:10:27 - Log Data
There can be any number of logs written and each is usually under 255 characters.