Question

Oscar.Caballero on Wed, 06 Apr 2016 19:32:28


Hello everyone

I´d like to have a button with a file browser so when i choose a file i can get the file path : "C:/images/image.jpg"

can you help me do that in c#

TIA


Sponsored



Replies

Weiwei Cai on Fri, 08 Apr 2016 07:29:22


Hi Oscar.Caballero,

According to your description, you want to get a file path with a button on your screen, is it right?

Please refer to following article which introduce how to save files to File System which will use select file path. Hope it can help you.

http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/35/Saving-Files-To-File-System-With-LightSwitch-Uploading-Files.aspx

Best Regards,
Weiwei