Click here to Skip to main content
15,847,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,

I have an element in an html document and it is <%RESULT%> .So iam reading this html document into a string called input.And in the input iam replacing this element with a datalist and this is the code :
input.Replace("<%RESULT%>", DataListResults)

but it is telling me that datalist cannot be converted to string.So is there any other way to replace this element with a datalist.?

Updated 1-Sep-11 2:17am
wizardzz 1-Sep-11 13:32pm    

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900