Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add new field (column) to .dat file

Status
Not open for further replies.

NewbieWithSQL

Programmer
May 25, 2011
10
US
I'm new to .NET and only have VB experience.. I need assistance in a situation that I'm in and any help is greatly appreciated.

Is it possible to add a new column to a .dat file at the end of each row and it contain a number that increments up by 1 for each row, basically giving the file a record id.
 
Easy way might be to read the file to a datatable / dataset and create a new .dat file.

Zameer Abdulla
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top