Hello I have a xml document in string that I am trying to post to a url.
string xml = File.ReadAllText(Server.MapPath("~/test.txt"));
myurl=(uri+Server.UrlEncode(xml));
Response.Write("<a input type="hidden" name="cxml-urlencoded" value="myurl"></a>");
The Response.Write is not working as it is not properly written i get red wiggly underline starting hidden saying expected “)”
Any ideas how to go about it?
Thanks
Try the mini-library I posted here. You’d use it like:
I don’t know if it’d handle the specific field name you need to use, though.