c# - How do I save user input to a txt document? -


i create simple .txt file taking input text boxes in windows form

i trying create 2 line text script takes me @ work copy , paste different pieces.

i have form designed , text boxes label, need code take information user input , generate txt file upon button click event.

string savetext = textbox1.text;  system.io.file.writealltext("savepath",savetext); 

it simlpe way


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -