in Education by
im developing a c# application (Photo Album Viewer), Im having Picturebox (Displays the selected image in List ) and listbox (Lists the images available ibn database table ). I can upload and store the images easily. Now i want to download the image i.e. selected in the listbox is there any standard procedure to capture the image in picture box and download the selected image? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I think what you are looking for is something like this (this is barebones, and would need a lot more error checking, etc.). Make a button to save the image (or however you are going to handle that aspect of it). private void SaveMe_Click(object sender, EventArgs e) { SaveFileDialog save = new SaveFileDialog(); save.Filter = "JPEG files (*.jpg)|*.jpg";//change for your needs if (save.ShowDialog() == DialogResult.OK) { pictureBox1.Image.Save(save.FileName); } }

Related questions

0 votes
    The main objective of the political party is to capture ………………………. and retain it. (a) publicity (b) victory (c) power (d) information Please answer the above question....
asked Aug 14, 2022 in Education by JackTerrance
0 votes
0 votes
    Is it possible to capture implicit reasoning process by patten classification network? (a) yes (b) maybe (c) no (d) cannot be determined Please answer the above question....
asked Aug 23, 2022 in Education by JackTerrance
0 votes
    I am using C#.Net to send out a HTML email which contains embedded images. These emails work fine ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    I am using C#.Net to send out a HTML email which contains embedded images. These emails work fine ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    I'm trying to add copyright to an image. If the resolution of image is less than 4592x2576, it ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    I'm trying to add copyright to an image. If the resolution of image is less than 4592x2576, it ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    which tool is used to make copies of the image or write shortcut key for make soft copies Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    I want to make custom attributes on classes to restrict who calls them. For example: [Permission("Admin") ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 14, 2022 in Education by JackTerrance
0 votes
    How to reverse a string in c# console application?...
asked Nov 30, 2020 in Technology by JackTerrance
0 votes
    On the left you will notice the google logo rendered by IE, I drew a black line at the top and ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    On the left you will notice the google logo rendered by IE, I drew a black line at the top and ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
...