0
Openfiledialog to textBox? (C#)
I need that for example a txt file opens with SaveFileDialog and the text data In that txt write it into a textbox.
2 ответов
+ 2
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
textBox1.Text = openFileDialog1.FileName;
}
http://www.c-sharpcorner.com/uploadfile/mahesh/openfiledialog-in-C-Sharp/
0
please remove the unnecessary tags (html, CSS, JavaScript, python, C++, and Java tags)