I think you're looking for the Server.HtmlEncode method.
http://msdn.microsoft.com/library/de...ncodetopic.asp
"vineetbatta" <an*******@discussions.microsoft.com> wrote in message
news:37**********************************@microsof t.com...
I am using sqlDataReader for Showing data from the Data base.
But if the Data from sql is having tags like <script>alert()</script> then
it shows an alert box while binding.
Is there any way of suppressing it this ..... ????
regards
Vineet Batta