text file
-
I have a problem with data in a text file. my data is a row in a data grid, but when i write my data to the file it writes it like this: 101405johnsmith050605. when it writes the data row like this, how do i get certain things to certain places? like 10 would be the record number and john smith would be the payee and 050605 would be the date. since it is not writen like this I cannot get john smith to textbox2 on form2 and i cant specify that i want 050605 to textbox3 form 2. how do i write the datarow so i can have certain pieces of it go to certain textboxes? Makniteasy
-
I have a problem with data in a text file. my data is a row in a data grid, but when i write my data to the file it writes it like this: 101405johnsmith050605. when it writes the data row like this, how do i get certain things to certain places? like 10 would be the record number and john smith would be the payee and 050605 would be the date. since it is not writen like this I cannot get john smith to textbox2 on form2 and i cant specify that i want 050605 to textbox3 form 2. how do i write the datarow so i can have certain pieces of it go to certain textboxes? Makniteasy
Hello, What technique have you adopted to write the data into the file? I think you should append space " " at the end of each data element while writing to the file. HTH. Maqsood Ahmed [MCP,C#] Kolachi Advanced Technologies http://www.kolachi.net