I think i need some help for the string replace function. This one do not replace and gives me same thing back. What might be the issue, guys?
FormattedURl = mysite.com/Merchant.aspx?1=lkdflfdfgj3242
lblclick.Text.Replace("<a class=linkclass href=http://www.mysite.com/ target=_blank > </a>",
"<a class=linkclass href=" + FormattedURL1 + "target=_blank ></a>");
Thank you in advance!!
You need to assign the text back into the variable or control.
The replace function will return a string, not change the current instance.