blah blah blah is here! blah blah » Close

up0down
link

I have a table from a database, with fields like Description and Price and Picture. I am able to load different rows of Description and Price onto the DataGridView. As the Picture size is too big to insert into the rows, I have to put the picture into a PictureBox.

I want to implement it such that when user browse through the different rows in the DataGridView, its relevant picture is shown in a PictureBox.

I would appreciate if some sample code is shown.

thanks.

last answered 2 years ago

1 answers

up0down
link

You'll find relevant codes in Microsoft Support forum:
How To Read and Write BLOB Data by Using ADO.NET with Visual C# .NET

that above link is obviously not useful to me. I already have the database setup with the tables with relevant fields like Description, Prices and Pictures. I just want the correct Picture to be displayed on the PictureBox when user clicks those rows in the DataGridView.

Feedback