<asp:DataList dir="rtl" ID="DataList1" runat="server" DataKeyField="Co_id" DataSourceID="SqlDataSource1" Width="100%" > <itemtemplate> <img src='<%# Eval("Img") %>' style="width:60%;height:300px; margin-top:20px;margin-right:30px; " /><br /> <asp:Label ID="TitleLabel" runat="server" Text='<%# Eval("Title") %>' Font-Size="X-Large" /> <br /> <asp:Label ID="ImgLabel" runat="server" Text='<%# Eval("Img") %>' Visible="False" /> <asp:Label ID="DescrLabel" runat="server" Text='<%# Eval("Descr") %>' /> <br /><br /> <hr style="width:96%; margin:auto" /> </itemtemplate> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:cinemaConnectionString3 %>" SelectCommand="SELECT [Co_id], [Title], [Img], [Descr] FROM [Content] order by Co_id desc" >
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)