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

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -