Recently in the "information collection", simply: Remote post an address, and then get the returned HTML, and then use the regular filter out the information you want. But how about post to get the HTML of a page without any page=2 parameters like the one from the GridView page in. Net?
such as the following address:
http://61.240.36.105/colorring/ringshop.jsp
How do you click the Paging button, the address is always the same, he post those parameters to the server, and then return to the specific page of data? It is difficult to guess and view his HTML source code. Below our sharp weapon is Born: HttpWatch
First look at the introduction:
Powerful data analysis tool for Web pages. Integrated in the Internet Explorer browser. Only need to select the appropriate Web site, the software can be the site and IE between the demand response to the communication situation analysis and the same interface to display its corresponding log records. Each HTTP record can be detailed analysis of its Cookies, message headers, character queries and other information. Support HTTPS and analysis report output in XML, CSV, and other formats.
Here's how to get http://61.240.36.105/colorring/ringshop.jsp's paging post to the server's specific parameters:
Specific parameters such as the figure:
This argument is completely naked out, now you just post this address can be:
stringappendstr=@ "http://61.240.36.105/colorring/ringshop.jsp $FORMNAME =colorring_ringlist& $parameters = Colorring_ringlist! " +num+ "!225!20!4489!" + ((num-1) *20) + "!" + (((num-1) *20) +20);
Where this num is a number of pages.
The following are the parameters for a specific post to the server when logging in Cnblogs: