p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   Problem with ObjectDataSource... (http://p2p.wrox.com/showthread.php?t=54800)

veeruu March 2nd, 2007 07:45 AM

Problem with ObjectDataSource...
 Im using Asp.Net 2.0, to insert the data to DB. i have to accept the <,>,&,'," too. so, im using HttpUtility.HtmlEncode to store the user input to DB.

 My problem is now i hav to display that info in a DropDownList using
ObjectDataSource. But the data is in encoded format( i.e. instead of < is diplaying &lt; ....). How to diplay the data in dropdownlist in a proper manner.

ex : actual input <7 & 5>
      in Dropdown it shows &lt;7 &amp; 5&gt;
      Expected result <7 & 5>

 Please help me to come out off this ....

Thanks & Regards,

All times are GMT -4. The time now is 12:17 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.