N
Neil Robbins
I have a text file that stores a number of records that I need to access in
a vb.net application. Each of the fields that make up a record are of a
fixed number of bytes. So for instance there is an address field of 240
bytes and there is an id field of 12 bytes. Where the data stored in a field
does not fill the available number of bytes then spaces " " are inserted to
fill the remaining bytes. There are no delimiters, just fields of a fixed
length.
The data held is non relational.
The data will never be edited.
There will never be more than one user accessing it at any one time.
I need to load the data held in this file into my application so that it can
be easily viewed by a user.
I had thought to do this through the use of a dataset to hold the data and a
DataGrid to view it.
Could anyone suggest an efficient way of loading this data into a dataset?
Any help would be gratefully recieved.
Neil R.
a vb.net application. Each of the fields that make up a record are of a
fixed number of bytes. So for instance there is an address field of 240
bytes and there is an id field of 12 bytes. Where the data stored in a field
does not fill the available number of bytes then spaces " " are inserted to
fill the remaining bytes. There are no delimiters, just fields of a fixed
length.
The data held is non relational.
The data will never be edited.
There will never be more than one user accessing it at any one time.
I need to load the data held in this file into my application so that it can
be easily viewed by a user.
I had thought to do this through the use of a dataset to hold the data and a
DataGrid to view it.
Could anyone suggest an efficient way of loading this data into a dataset?
Any help would be gratefully recieved.
Neil R.