p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   SQL Server ASP (http://p2p.wrox.com/sql-server-asp-101/)
-   -   How to load image from sql database to datagrid (http://p2p.wrox.com/sql-server-asp/8047-how-load-image-sql-database-datagrid.html)

huyfamily January 11th, 2004 10:52 PM

How to load image from sql database to datagrid
 
Hi,

I have my table in sql server 2000 and within this table I have on column declared as image data type and it is use to store the image.
When I try to display it in my datagrid control it could not display.

Anybody know how to get arround this issue?
Appriciate for any help.

Thank you.
Sothearith Chanty.


arronlee April 15th, 2014 12:05 AM

Hi, Sothearith Chanty.
Have you ever found out the solution of your
image loading project? As for myself, I have ever used to load images with the help of following code:
Code:

Imports System.IO
Imports System.Drawing.Printing
Imports Yiigo.Image;

Dim Image As New YGPic()
Image.LoadPicFromFile(@"C:\YGdemo.png")

I hope it helps as well. You can google it and have a try. Good luck.



Best regards,
Arron


All times are GMT -4. The time now is 11:15 AM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.