I want to create an object which represents an html document which is suppose to be submitted to the web server through programming. I have to set various parameters also in that document.
Scenario : I have read a web page having username and password fields in it. Now i want to set username and password through desktop application into that html page. After that i want to submit that page to the webserver.
Now the confusion i am facing over here is how to construct an object representing an HTML document through this response which i got from the website.