Start New Discussion within our Web Development Community

Hi, I'm trying to get data from a database and display the results using Eval, but it doesn't seem to work,
I've tried
<asp:label id="InfoAvailableDesc" runat="server" Text='<%# Eval("InfoAvailable") %>' /></td>

                        <asp:label id="InfoAvailable" runat="server">
                            <asp:literal id="litInfoAvailable" runat="server"
                               text='<%# Eval("InfoAvailable") %>'/> 

Neither seem to work, these are both inside a repeater which is linked to my data source
<asp:Repeater id="availableInfo" runat="server" DataSourceID="srcInfoAvail">

I'd appreciate any help.

This question has already been answered. Start a new discussion instead.