DanGettel
asked on
Would like to Concatenate string value with '<%#Eval("Remaining_Seats")%>' to form the text of an asp.Table cell
I would like to concatenate string value of "Number Remaining:" with '<%#Eval("Remaining_Seats" )%>' to form the text of an asp.Table cell.
Any ideas?
Any ideas?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry, but I still can't get things to work.
Here is an example of an asp:Table cell that successfully displays the Remainind_Seats value:
<asp:TableCell ID="TableCell2" runat="server" ColumnSpan="2" VerticalAlign="Top" Text ='<%#Eval("Remaining_Seats ")%>'>
</asp:TableCell>
Here is an example of an asp:Table cell that successfully displays "Number Remaining:"
<asp:TableCell ID="TableCell1" runat="server" Text='<strong>Number Remaining: </st rong>'>
</asp:TableCell>
So what I am really trying to do is combine the two into one cell.
Here is an example of an asp:Table cell that successfully displays the Remainind_Seats value:
<asp:TableCell ID="TableCell2" runat="server" ColumnSpan="2" VerticalAlign="Top" Text ='<%#Eval("Remaining_Seats
</asp:TableCell>
Here is an example of an asp:Table cell that successfully displays "Number Remaining:"
<asp:TableCell ID="TableCell1" runat="server" Text='<strong>Number Remaining: </st
</asp:TableCell>
So what I am really trying to do is combine the two into one cell.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
"Number Remaining : " & <%#Eval("Remaining_Seats")
That gave me (Parser Error The server tag was not well formed.) error message.
Any other ideas