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
Need help on rollover buttons in flash in Flash CS4 and AS 3
Missing security tab on network shares from NetApp FAS 2020
Xenserver multipath issue with pool
B Tree
PHP SESSION id IN QUERY STRING
asp.net + modal popup
EtherChannel on Cisco 2960 switch intermittent dropped packet
Restoring MSSQL 2000 databases to MSSQL 2005
How can I create a signature capture in iPhone SDK?
Sync Center and Moving Redirected Folder in SBS2008