I have a VB.NET program that reads a text file and inserts the data into a mdb. The text file is a stream string that is not possible to split, so I need to use substring to get the different fields. The way that the code works now is that the string is substring, then put inserted into different fields in the mdb. But the speed is too slow.
Example: 12345678TomChan 80
- The first eight digits are the ID
- The folowing 10 digits are the name
- The final two digits are mark
This is the string layout and it has about 20000 records.
Is there a faster way to do this?