Microsoft
Software
Hardware
Network
Question : How to display two types of file format in OpenFileDialog in windows application using c#
My code
----------
openFileDialog1.Filter = "XLSX file(*.xlsx)|*.xlsx|XLSM file(*.xlsm)|*.xlsm";
openFileDialog1.ShowDialog
();
Now it is displaying either .xlsx or .xlsm files one type at a time. but it want to display both file format types in the dialog box at a time. Is't possible to display like this?
I don't want to change files type option in dialogbox from one type format to another to display the files.
Answer : How to display two types of file format in OpenFileDialog in windows application using c#
try:
openFileDialog1.Filter = "Excel files (*.xlsx, *.xlsm)|*.xlsx;*.xlsm";
Random Solutions
How to Show Up image Use this Script please Help
Diffrence between debug & release versions
SSRS Combine two datasets into one data region - Must be in report not in SQL server
Lightweight network management for mobile workforce
asp.net mssql I have a need to update records where the record column needs modifing in orde to match the Id value
how can i find all ILO boards on a network
Should you dismount exchange database before exhange updates?
Setting Reporting Services data driven subscription Using Web Service
Remote Web Workplace Setup
Nested Gridviews RowDataBound Event Problem