Web Design

Snippets

29

        <asp:TemplateField HeaderText="Bike Raffle*" ItemStyle-HorizontalAlign="Center" >
            <ItemTemplate>
            <asp:Image ID="Image2" runat="server" ImageUrl='<%# (Eval("BikeRaffle").Equals(true) ? "~/DesktopModules/GIBS/FBClients/Images/yes.png" : "~/DesktopModules/GIBS/FBClients/Images/no.png")%>' />
            </ItemTemplate>
        </asp:TemplateField>

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.