ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - Smart Image - With SqlDataSource

Images from the database:


<asp:SqlDataSource ID="SqlDataSource1" runat="server"
    ConnectionString="<%$ ConnectionStrings:WebsiteConnectionString %>"
    ProviderName="<%$ ConnectionStrings:WebsiteConnectionString.ProviderName %>"
    SelectCommand="SELECT TOP 4 fldDescription, fldContent FROM Editor_tbImage">
Images from the database:
<br /><br />
<div style="width:600px;">
    <asp:Repeater id="imageset" runat="server" DataSourceID="SqlDataSource1">
            <obout:SmartImage Title='<%# Eval("fldDescription") %>' BinaryValue='<%# Eval("fldContent") %>'
                                Height="200px" OptimizeMode="Fit" runat="server" ID="smImage" />

"Congratulations on such a stable and flexible product!!!!! Much easier to use and understand that the Janus Grid I have been using."

Colin Briggs

Random testimonial   All testimonials