|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
imagefield in gridviewHi,
I have a sql image field that is a picture. I added a imagefield and bound it to the field name, and all i get is a red x.. Tdar You need to have separate handler/page serving the image from the database.
HTTP response cannot return mixed content/type (like text and binary within same response) so you need to create a second ednpoint request/response to serve the image. Related resources: http://www.developerfusion.co.uk/show/3933/ http://www.codeproject.com/aspnet/ImageBinaryStream.asp http://msdn.microsoft.com/msdnmag/issues/04/04/CuttingEdge/ (and you'll find a few more with Google) Show quoteHide quote "TdarTdar" <Tdar@noemail.nospam> wrote in message news:2EAF814E-9FEF-4244-AD92-E190147C3035@microsoft.com... > Hi, > I have a sql image field that is a picture. I added a imagefield and > bound > it to the field name, and all i get is a red x.. > > Tdar
GridViewRow.DataItem is null
Server Control to manipulate GridView Checkbox items under a RadioButton Access data in ObjectDataSource no FormView for create/insert page DataList and Event not fired issue: accessing value of dropdownlist in a user control Video capture control in asp.net 2.0 How well is a performance of a Menu Control Enabled="False" |
|||||||||||||||||||||||