<pre><asp:DataList ID="DataList1" runat="server" BackColor="Gray" BorderColor="#666666" BorderStyle="None" BorderWidth="2px" CellPadding="3" CellSpacing="2" Font-Names="Verdana" Font-Size="Small" GridLines="Both" RepeatColumns="6" RepeatDirection="Horizontal" Width="665px"> <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" /> <HeaderStyle BackColor="#333333" Font-Bold="True" Font-Size="Large" ForeColor="White" HorizontalAlign="Center" VerticalAlign="Middle" /> <HeaderTemplate> video list</HeaderTemplate> <ItemStyle BackColor="White" ForeColor="Black" BorderWidth="2px" /> <ItemTemplate> <a style="text-decoration: none;" href='<%#Eval("videoid")%>'> <asp:Image ID="imgEmp" runat="server" Width="100px" Height="120px" ImageUrl="http://img.youtube.com/vi/" +{'videoid'}+ "/mqdefault.jpg"; style="padding-left:40px"/><br /></a> </ItemTemplate> </asp:DataList>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)