I am coding a textbox and button to select a Excel File. When I run the application and the file browser appears, non of the files appear in the browser. Here is the code that I wrote for the button
Also, why I am asking questions, when I want to uploaded the file selected from the browswer, how do I send it to the text box?
Code:
private void button1_Click(object sender, EventArgs e)
{
OpenFileDialog browsedFile = new OpenFileDialog();
browsedFile.Filter = "XML Files (*.xml,*.xls,*.xlsx,*.xlsm,*.xlsb)"+
"|*.xml*.xls,*.xlsx,*.xlsm,*.xlsb|All files (*.*)|*.*";
browsedFile.ShowDialog();
Comment