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.

4th Mar 2018, 5:41 AM
SebGM2018
SebGM2018 - avatar
2 Respostas
+ 2
if (openFileDialog1.ShowDialog() == DialogResult.OK) { textBox1.Text = openFileDialog1.FileName; } http://www.c-sharpcorner.com/uploadfile/mahesh/openfiledialog-in-C-Sharp/
4th Mar 2018, 9:54 PM
sneeze
sneeze - avatar
0
please remove the unnecessary tags (html, CSS, JavaScript, python, C++, and Java tags)
4th Mar 2018, 4:29 PM
Amaras A
Amaras A - avatar