carmen wrote:
> I an trying to return data from a db using <%=RSupdate(title)%> in my
> code. The problem is when title has some quotes in it such as Box
> "is" to big, the only thing displayed will be Box. Is there any way
> to get the whole entry.
>
> Thanks
> Carmen
It depends on where the <%=RSupdate(title)%> is, but you can usually do:
<%=Replace(RSupdate(title),"""","""""")%>
to double up the quotes.
In other situations, you will need to use:
<%=Server.HTMLEncode(RSupdate(title))%>
HTH,
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
|