Concatenate ".jpg" to a Binded value

0

I have this line on a website made with c #,

 <p><asp:Image id=Imagen1 runat="server" ImageUrl='<%# Bind("Id_producto") %>'/>  </p>

And I need the ImageUrl value to be the data that comes from Bind, plus the .jpg extension, but I do not succeed, I tried with "+" .jpg ", with + '.jpg', but nothing.

Thank you.

    
asked by Facundo Díaz 16.09.2018 в 15:37
source

0 answers