We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,186 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Eval not displaying anything

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.

1
Contributor
0
Replies
1
View
Question
Answered
InS@NiTy
Newbie Poster
14 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Question Self-Answered as of 1 Year Ago

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0511 seconds using 2.64MB