Click here to Skip to main content
15,900,683 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Dear : The code Project

Now,I'm have a problem with loading image from Database Sql server into Picture Box
when Click row at DataGridView

Example: DataGridView(DGview)

With DGview
txtid.text = .cells(0).value
txtname.text = .cells(1).value
PictureBox.image = ? (want to know This code)
End with

Please! help me
Thanks you!

1 solution

Hi there,

I think this is what you're looking for:
Storing and Retrieving Images from SQL Server using Microsoft .NET[^]

See the section titled "Retrieving Image".

Hope this helps,
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900