data binding - c# change pictureBox DataBinding on click -
i have picturebox set databindings via properties in visual studio, specific image type field of table. far good, bringing image of database.
but need picturebox change image brings depending on button clicked. have 4 image fields on table. if user click button1, need picturebox databinded field image1 of table. if user click button 2, change databing , bring image saved on image2 field of table.
how can that?
i consider introducing image handler described here: https://www.dotnetperls.com/ashx
the imagehandler used determine, image returned client application. example, if button 1 clicked image 1 returned.
wiki
Comments
Post a Comment