G
Guest
Caveat: newbie
I would like to take the contents of the datagrid on my form and export it
record by record to a flat text file.
After some time searching, I came across two items:
IO.File.WriteAllText
System.IO.StreamWriter
It's been too long since I've coded and need a swift kick to get some rust
off. Can someone at least point me to some examples? Ultimately, I want the
user to review the data on the form as a quick data quality check. Then, the
user will click on a button which will create the text file to be sent
somewhere else. I want to do it record by record since there are some
manipulations that are required in the final text file.
Any assistance would be greatly appreciated! Thanks!
Patrick
I would like to take the contents of the datagrid on my form and export it
record by record to a flat text file.
After some time searching, I came across two items:
IO.File.WriteAllText
System.IO.StreamWriter
It's been too long since I've coded and need a swift kick to get some rust
off. Can someone at least point me to some examples? Ultimately, I want the
user to review the data on the form as a quick data quality check. Then, the
user will click on a button which will create the text file to be sent
somewhere else. I want to do it record by record since there are some
manipulations that are required in the final text file.
Any assistance would be greatly appreciated! Thanks!
Patrick