InS@NiTy 0 Newbie Poster

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>
and

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

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.
Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.