title: How to automatically query a webpage and parse the data which is displayed on the page and store it in a database
body: <p>I tried searching a lot but could not found a specific answer to my problem.
  I am trying build an analytical software which fetches data from a website by querying it with different samples of data.
  For Example:
  consider this URL: <a href="http://onlineresult.msbte.org.in/ore201401/" rel="nofollow">http://onlineresult.msbte.org.in/ore201401/</a>
  now here you had to provide a seat number / Enrollment number in the box. As soon as you click search it will display the result of the student.</p>
  
  <p>Now what i want to do is to automate the task by means of a software and retrieve the data for say N number of students. This data will further be used for analytical purpose.</p>
  
  <p>SAMPLE CASE:
  ENTER:- 586124 in seat number box and click on search.</p>
  
  <p>You will now get a page <a href="http://onlineresult.msbte.org.in/ore201401/index.php/public_display/result" rel="nofollow">http://onlineresult.msbte.org.in/ore201401/index.php/public_display/result</a> 
  which displays the result of a student.</p>
  
  <p>So I want to fetch this result from page and store it in database.</p>
  
  <p>Thank you in advance for any help. </p>