1,105,225 Community Members

Eval not displaying anything

Member Avatar
InS@NiTy
Newbie Poster
14 posts since Apr 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Question Self-Answered as of 2 Years Ago
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article