post data through httpWebRequest

Posted by user304901 on Stack Overflow See other posts from Stack Overflow or by user304901
Published on 2010-03-31T06:48:00Z Indexed on 2010/03/31 6:53 UTC
Read the original article Hit count: 239

Filed under:
|

Hello, everybody. I need to "Post" some data to an external website using HttpWebRequest object from my application(desktop) and get a response back into my application through HttpWebResponse object. But the webpage on which i m posting data have textboxes which have dynamic names. how can i get the name of those textboxes and post data in httpwebresquest.

for example when i load the page the textbox name is like this "U2FsdGVkX183MTQyNzE0MrhLOmUpqd3eL60xF19RmCwLlSiG5nC1H6wvtBDhjI3uM1krX_B8Fwc" but when i refresh the page name change to this "U2FsdGVkX182MjMwNjIzMPAtotst_q9PP9TETomXB453Mq3M3ZY5HQt70ZeyxbRb118Y8GQbgP8"

Thanks for any suggestions.

© Stack Overflow or respective owner

Related posts about c#

Related posts about httpwebrequest