ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" RepeatColumns="2" RepeatDirection="Horizontal" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center">
<ItemTemplate>
<div class="row" style="width: 100%; margin: auto">
<div class="col-sm-12 col-md-6 video-containere" style="min-width: 95%; height: 400px;">
<div style="height: 315px;">
<iframe width="560" height="315" src="<%# Eval("video") %>" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
<br />
<div style="height: 100px; text-align: center; font-size:10px;"><%# Eval("Baslik") %></div>
</div>
</div>
</ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Holding_DBConnectionString %>" SelectCommand="SELECT * FROM [TBL_Video]"></asp:SqlDataSource>
hello friends, how can I bring this code under one row on mobile, I tried everything but couldn't find a solution