Hi
I am using Image control with DataList control but have a problem. Here is the code I am using
<asp:Image ImageURL='<%# DataBinder.Eval (Container.Data Item, "imagefilen ame" ) %>' Runat="Server" /
I would like to change it to something like this
<asp:Image ImageURL='image s/<%# DataBinder.Eval (Container.Data Item, "imagefilen ame" ) %>' Runat="Server" /
In other words, I would like to add a folder name part to the ImageURL value. However it doesn't seem to work properly. What should I do
Thank you in advance
Vitalii
I am using Image control with DataList control but have a problem. Here is the code I am using
<asp:Image ImageURL='<%# DataBinder.Eval (Container.Data Item, "imagefilen ame" ) %>' Runat="Server" /
I would like to change it to something like this
<asp:Image ImageURL='image s/<%# DataBinder.Eval (Container.Data Item, "imagefilen ame" ) %>' Runat="Server" /
In other words, I would like to add a folder name part to the ImageURL value. However it doesn't seem to work properly. What should I do
Thank you in advance
Vitalii
Comment