Problem with ObjectDataSource...
Hi,
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 < ....). How to diplay the data in dropdownlist in a proper manner.
ex : actual input <7 & 5>
in Dropdown it shows <7 & 5>
Expected result <7 & 5>
Please help me to come out off this ....
Thanks & Regards,
Veeruu..
|