Text Save
I am very beginner in c#, how i save text field in a file like notepad or word pad?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tanmay SarkarPosted Jul 29, 2010, 11:19 PM
private void button1_Click(object sender, EventArgs e)
{
if (saveFileDialog1.ShowDialog() != DialogResult.Cancel)
richTextBox1.SaveFile(saveFileDialog1.FileName);
}
If it help you mark it as ans.
Thank you