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

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -