Click here to Skip to main content
16,018,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
how can i show images in multi columns in asp grid view. the path of images set by the dynamically using sql server.

i mean that i want to show 4 images in 1 row.is this possible in asp grid view.??
Posted

1 solution

yes it is possible u can do it like this

<asp:gridview id="GridView1" runat="server" xmlns:asp="#unknown">
style="z-index: 1; left: 261px; top: 76px; position: absolute; height: 267px; width: 512px">
<columns> <asp:templatefield>

<itemtemplate>
<asp:image id="Image1" runat="server" imageurl="<%#Eval(" column"="" name="" of="" image="" in="" table=")%> /><br mode=" hold=" /> </ItemTemplate><br mode=" image2=" runat=" server=" ImageUrl=<%#Eval(" column="">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900