Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
678
ultra picturebox with image from sql server database
posted

Hello,

I need to implement image on ultrapictureBox. this image is store on SQL SERVER 2005.

This a part of my code :

ObjetDataAdapter1.Fill(ObjetDataSet2, "dt_artiimage")

UltraPictureBox1.Image = ObjetDataSet2.Tables("dt_artiimage").Columns(3)

Can you help me ?

thanks

Laurent

Parents
No Data
Reply
  • 37774
    posted

    This all depends on how you're storing the image on the server.  You will likely have to convert the value into a .NET Image before you can assign it to the UltraPictureBox, though I can't suggest how that can be done from your code.

    -Matt

Children