Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 11th, 2004, 10:52 PM
Registered User
 
Join Date: Jan 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

 
Old April 14th, 2014, 11:05 PM
Registered User
 
Join Date: Aug 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to store image in sql server database Debmit_das ASP.NET 2.0 Basics 5 March 21st, 2008 05:31 AM
how to upload image into sql server database avnishraj23 General .NET 1 December 4th, 2007 02:20 PM
load a image from database pedrocosta24306 BOOK: Access 2003 VBA Programmer's Reference 0 January 5th, 2007 11:35 PM
Displaying user image from sql database palvin Classic ASP Databases 14 July 6th, 2005 05:09 AM
How to load image from sql database to datagrid huyfamily ADO.NET 2 January 12th, 2004 10:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.