gridview - Image Binding in ASP.NET -



gridview - Image Binding in ASP.NET -

i have next piece of code

imageurl='<%# bind("imageurl") %>'

i've got gridview want show images on itemtemplate have database i'm saving on name of images e.g --> img1.jpg

i want append total path of image @ before name can viewed on itemtemplate on gridview.

i tried utilize concat, or + operator doesn't seem work can any1 tell me 2 ???

use inline eval imageurl='<%# "path/to/image" + bind("imageurl") %>'

no need utilize bind. used two-way, read/write databinding.

asp.net gridview

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -