سلام
من یه اسلاید شو بوت استرپ دارم که باید عکس های آن را به بانک وصل کنم. این کار را چه طوری باید انجام دهم؟ البته کد زیر را توسط دیتا سورس به بانک اتصال دادم اما تصویری بالا نمی آید؟
<div class="carousel-inner" role="listbox" >
<div class="item active">
<img src="<%# Eval("gllUrl","images-files/Slider-Img/{0}") %>" title="<%# Eval("gllTitle")%>" width="460" height="345">
<div class="carousel-caption">
<h3>Chania</h3>
<p>The atmosphere in Chania has a touch of Florence and Venice.</p>
</div>
</div>
<div class="item">
<img src='<%# Eval("gllUrl","images-files/Slider-Img/{1}") %>' title='<%# Eval("gllTitle")%>' width="460" height="345">
<div class="carousel-caption">
<h3>Chania</h3>
<p>The atmosphere in Chania has a touch of Florence and Venice.</p>
</div>
</div>
<div class="item">
<img src='<%# Eval("gllUrl","images-files/Slider-Img/{2}") %>' title='<%# Eval("gllTitle")%>' width="460" height="345">
<div class="carousel-caption">
<h3>Flowers</h3>
<p>Beatiful flowers in Kolymbari, Crete.</p>
</div>
</div>
<div class="item">
<img src='<%# Eval("gllUrl","images-files/Slider-Img/{3}") %>' title='<%# Eval("gllTitle")%>' width="460" height="345">
<div class="carousel-caption">
<h3>Flowers</h3>
<p>Beatiful flowers in Kolymbari, Crete.</p>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:Incubator_mstpConnectionString %>"
ProviderName="<%$ ConnectionStrings:Incubator_mstpConnectionString.ProviderName %>"
SelectCommand="SELECT top(4) * FROM [tbl_CP_SlideShow] ORDER BY gllID DESC">
</asp:SqlDataSource>
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)