E
Eugene Anthony
I am using the following statement in my repeater control.
<%# "if(" + int.Parse(Eval("RegistrationID").ToString()) + "!=" +
int.Parse(Session["id"].ToString()) + "{<a
href=SubscriptionCart.aspx?GroupID=" + Eval("RegistrationID") +
">Subscribe</a>}" %>
The problem is it appears as:
if(1!=1{Subscribe}
How do I solve the problem?
Eugene Anthony
<%# "if(" + int.Parse(Eval("RegistrationID").ToString()) + "!=" +
int.Parse(Session["id"].ToString()) + "{<a
href=SubscriptionCart.aspx?GroupID=" + Eval("RegistrationID") +
">Subscribe</a>}" %>
The problem is it appears as:
if(1!=1{Subscribe}
How do I solve the problem?
Eugene Anthony