TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
amerikadan00
NA
10
0
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
Reply
Answers (
0
)
Request.Form is Zero?
Error updating Databse anyone can help?