Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
Not able to Save and Retrieve Image
PRASANTA BISWAS
Aug 18 2014 5:59 AM
705
Reply
Dear All
I added below code onto Photo Load Click Event. Photo is added but Size is not Actual. So, How to fixed size. I am managing Path but How to retrieve Image from Database.
string path = null;
OpenFileDialog fileDialog = new OpenFileDialog();
fileDialog.ShowDialog();
path = fileDialog.FileName;
txtPhotoID.Text = path;
PictureBox picBox = new PictureBox();
picBox.Image = new Bitmap(fileDialog.FileName);
picImage.Controls.Add(picBox);
picBox.Height = 300;
picBox.Width = 400;
picBox.BackgroundImageLayout = ImageLayout.Zoom;
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Need help on my Cinema Console App. (2D Array)
Take a backup copy of a speciifc folder automatically