Posting Data from a Windows Form

Jun 9 2004 12:49 PM
I'm sending post data FROM A WINDOWS FORM (NOT AN ASPX PAGE) to a web page but it doesn't seem to be reaching the destination (or at least it appears that way). Windows Form Code --------------------------------------------------------- //Client side WebClient client = new WebClient(); client.Headers.Add("Content-Type","application/x-www-form-urlencoded"); byte[] postByteArray = Encoding.ASCII.GetBytes(postData); client.UploadData("http://www.someaddress.com/Payment/IPN.aspx",postByteArray); --------------------------------------------------------- Server Side Code Request.Form.Count; // THIS RETURNS ZERO meaning no data Any ideas or suggestions