<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" Height="204px" HorizontalAlign="Justify" PageSize="5" Width="56px" ShowHeader="False" > <Columns> <asp:TemplateField> <ItemTemplate> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# geturl(DataBinder.Eval(Container.DataItem, "img_id"))%>'><asp:Image ID="Image1" runat="server" Height="40" ImageUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem, "img_id")) %>' Width="40" /></asp:HyperLink> </ItemTemplate> </asp:TemplateField> </Columns> <FooterStyle BackColor="#99CCCC" ForeColor="#003399" /> <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" /> <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" /> <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" /> <PagerSettings NextPageImageUrl="photogallary.aspx" PageButtonCount="4" /> <RowStyle BackColor="White" ForeColor="#003399" /> </asp:GridView>
Datalist
GridView
RepeatColumns="4"
RepeatDirection="Horizontal"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)