Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - datagrid question

 
Thread Tools Search this Thread
Old 02-03-2004, 09:07 PM   #1
Default datagrid question


Hi,

If i store a image in a sql 2000 database binary using the image data type,
Is it in someway possible to use a bound datagrid to have this image
displayed in the grid ?

Regards

Niclas




MS Newsgroups
  Reply With Quote
Old 02-03-2004, 11:47 PM   #2
Hermit Dave
 
Posts: n/a
Default Re: datagrid question
well you need to write an aspx page or a custom httphandler to fetch the
byte array from database and write that byte array using
Response.BinaryWrite to the output stream
yes you can bind display it using ItemTemplate, with <img or image control
embedded which calls your aspx or your custom handler with appropriate
parameters

http://aspalliance.com/articleViewer...aId=141&pId=-1

this article sort of shows you what i was going on about.

--
Regards,
HD
Once a Geek.... Always a Geek
"MS Newsgroups" <> wrote in message
news:%...
> Hi,
>
> If i store a image in a sql 2000 database binary using the image data
> type,
> Is it in someway possible to use a bound datagrid to have this image
> displayed in the grid ?
>
> Regards
>
> Niclas
>
>





Hermit Dave
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading 24,000 rows into C# .net Datagrid Kagu Software 0 03-10-2009 06:51 PM
"Installing two drives" question - what next? Jim A+ Certification 12 08-07-2005 01:19 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good God DVD Video 3 04-25-2005 04:19 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good Filthy Mcnasty DVD Video 0 04-25-2005 04:29 AM
Re: Safe Mode Question (A+ question) Gordon Findlay A+ Certification 0 06-16-2004 10:48 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46