View Single Post
  #2 (permalink)  
Old March 24th, 2005, 04:21 AM
swastikagaur swastikagaur is offline
Authorized User
Join Date: Mar 2005
Location: , , India.
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts


for showing image in a datagrid there can b two approaches acc. to me :

1) u can create an 'image type' field in ur database and then make use
   of a bound column. But wot i feel is that this approach can make ur
   database too heavy. so to avoid this u can follow the 2nd app.
2) create an image folder in ur appln. directory.then u can use a
   template column and put an <img> tag there. This <img> tag will
   consist of the src of ur images folder along with the container
   for retrieving ur dataitems. Also ur database will contain an
   image column with any varchar/char datatype.

this shud solve it..
I knw it may sound a bit complicated .. but believe me it's easy :)


It bcums FATAL wen my brain puts my eyes on Call-Waiting ! >|B-)
Reply With Quote