Text Files - writing to and reading

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Darrall
    New Member
    • Mar 2010
    • 2

    Text Files - writing to and reading

    I have a project open and I added a text file to it. I know I can just open it and write text in it but can I write information to it from text boxes?

    What I am writing is a survey program which uses points which are composed of pt. no., N, E, Elevation and Description. I want the user to be able to write data into the file and read data from the file from a form with 5 text boxes and an enter button.

    Can anyone help me with this?

    Thanks.

    Darrall
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Learn ways to write or append text to a file for a .NET app. Use methods from the StreamWriter or File classes to write text synchronously or asynchronously.

    Comment

    Working...