Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
XML
<asp:TemplateField HeaderText="Approval Status">
<ItemTemplate><asp:HyperLink ID="hpapp" runat="server" ToolTip='<%#Eval("approvedby") %>'  Text='<%#Eval("cntapp") %>/<%#Eval("cntrm") %>'  ></asp:HyperLink>
<asp:HiddenField ID="hdnapp" runat="server" Value='<%#Eval("cntapp") %>' />
<asp:HiddenField ID="hdncntrm" runat="server" Value='<%#Eval("cntrm") %>' />





where is the error
and i have to increase the count
Posted

Hey there,

I think the problem is with this specific part of your code:
HTML
Text='<%#Eval("cntapp") %>/<%#Eval("cntrm") %>'

Try this:
HTML
Text='<%#Eval("cntapp") + "/" + Eval("cntrm") %>'

Please let me know if it fixes your problem or not.

Azee...
 
Share this answer
 
v2
in sql Query

cntapp+'/'+cntrm as n

Text='<%#Eval("n")%>'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900