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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write to a txt file

Status
Not open for further replies.

dtorres

MIS
Sep 25, 2002
177
US
I have a form that includes 4 input fields. Name; Address; City; State. Once that application is launched I want to be able to input information to those fields and when I click a submit button the inputs are written to a text file.

Also is there a way to after clicking submit the form is cleared and I can input another set and submit to the same file.

Any help is appreciated.
 
you should look into ADO.Net, you could create a data table, add rows to it, and then use a dataset to write the data to an XML text file.

-Rick

----------------------

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top