Click to See Complete Forum and Search --> : How can I change the image ?


Robert Chu
09-22-2009, 08:40 PM
I saved the jpeg binary data in SQL and use binarywrite to show the picture.
Then, I use image.ImageUrl to the DisplayPicture.aspx to show the picture. But I need to change the photo If the user clicks on another row. I put the image control and GridView in an updatepanel, therefore the page won't postback when the user click the button in each row. The picture in image can't be refreshed. I use debugger to trace and find the program doesn't go the DisplayPicture.aspx when the user click on the button. How can I refresh the image ? Thanks