G
Guest
Hi
I am using StringBuilder to compose an email. The body of email consists of
a table for which data has to be taken fron SQL Server.
I use appen method to add text to the StringBuilder variable. When I am
finished I call ToString function to get the string.
The problem is that many times, it changes the text I appended to it. Like
when I append
<TH vAlign=top noWrap width=30>ABC<BR>10<BR>5<br>05</TH>
it some time changes that to
<TH vAlign=top noWrap width=30>Tue<BR>10<BR>5< br>05</TH>
some time it does this with other HTML attribute (mostly with < >). This
happens occasionaly. Sometime it works fine and sometime not.
I tried using the String instead of StringBuilder but the problem is still
there.
Please help me.
I am using StringBuilder to compose an email. The body of email consists of
a table for which data has to be taken fron SQL Server.
I use appen method to add text to the StringBuilder variable. When I am
finished I call ToString function to get the string.
The problem is that many times, it changes the text I appended to it. Like
when I append
<TH vAlign=top noWrap width=30>ABC<BR>10<BR>5<br>05</TH>
it some time changes that to
<TH vAlign=top noWrap width=30>Tue<BR>10<BR>5< br>05</TH>
some time it does this with other HTML attribute (mostly with < >). This
happens occasionaly. Sometime it works fine and sometime not.
I tried using the String instead of StringBuilder but the problem is still
there.
Please help me.