Open File Dialog Box in C# Visual Studio


What is File Dialog Box Control ?
The OpenFileDialog component allows users to browse the folders of their computer or any computer on the network and select one or more files to open. The dialog box returns the path and name of the file the user selected in the dialog box.

Once the user has selected the file to be opened, there are two approaches to the mechanism of opening the file. If we prefer to work with file streams, you can create an instance of the StreamReader class. Alternately, we can use the OpenFile method to open the selected file.

You can learn and download source code from given link
For more Details:



Please enter your comment!
Please enter your name here