HI,
I've same situation, (I'm a beginner in C#.)
I want to replace a PARAM value on every page load (or refresh).
my HTML code is something like this:
<form id="Form1" method="post" runat="server">
<OBJECT id="ShowLevel" classid="clsid:9F2B3505-199C-11D2-9E4E-00AA002156AE"
VIEWASTEXT>
<PARAM NAME="Level" VALUE="36">
...
</OBJECT>
I want to change VALUE to any integer, but with code behind (C#) only.
Please guide.
Regards,
Sachin M
"Floyd Burger" wrote:
string convertedString = HttpUtility.HttpEncode(txtQuote.Text);
other than that, you could use a RegEx replace
--
Floyd
"me" <wu*****************@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Hi,
I have a text box that is name txtQuote.
Enduser might type in txtQuote:
It is unbelievable <a
href="http://sports.yahoo.com/sc/news?slug=reu-tourtrial_picture&prov=reuter
s&type=lgns">Armstrong is on <font color="red"FIRE</font></a>.
How do I convert the < to < and > to >?
TIA