mercredi 15 octobre 2014

I have a image saved in data base how can I open this image with a op and save as dialog box


Vote count:

0




C# WPF Application : I have a image saved in my database that i am reading as a byte stream this part is done My Question is How can I open this image with a open/save as dialog box. Like the one that appears in web browsers.


For Example In Dialog Box if the User Click Open word, pdf or image file should directly open otherwise if he clicks on save as it should open a Save as Dialog Box..


Please support...


Thanks In advance






asked 4 mins ago


1 Answer



Vote count:

0




use the save file dialog:


http://ift.tt/1evAzKe


when the save is pressed, you get the result for it. (ShowDialog() actually) and when it is OK/yes then proceed to save the image read from the DB to the path and filename the user selected



answered 1 min ago






I have a image saved in data base how can I open this image with a op and save as dialog box

Aucun commentaire:

Enregistrer un commentaire