Click here to Skip to main content
16,017,261 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to use a control filebrowser in the cell of gridline in C# to select multiple photo
does filebrowser have this ability to select an return multiple photo at sametime
Posted
Comments
[no name] 8-Jun-14 8:38am    
Did you try setting the "Multiselect" property to "true"?
roza54 8-Jun-14 8:44am    
my gridline has cell with tag imaga when click on file browse you can select a photo and this photo
will save and show to user but i want to show more than one photo so i need to select multiple photo
[no name] 8-Jun-14 8:50am    
Okay so what does that have to do with anything?
roza54 8-Jun-14 8:59am    
i could'nt get your question but i have a flowlayout beside gridlines when i select a photo via image cell of gridlines it will be appear there so if i could multiselect i could show all of them
[no name] 8-Jun-14 9:05am    
Okay.... what does any of this have to do with the OpenFileDialog and you setting the multiselect property to true?

1 solution

you can use
C#
OpenFileDialog 
in control the file extension from it, to select images or document.
insert it in button click with name (Browse...)

C#
OpenFileDialog ofd=  new OpenFileDialog();
//you can user Image Files (*.bmp, *.jpg)|*.bmp;*.jpg for images.
ofd.Filter = "Text Files (.txt)|*.txt|All Files (*.*)|*.*";
ofd.ShowDialog();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900