title: How to Download a file from a website programatically c#
body: <p>I am developing a application for downloading mcx data from the website.It would be good if i </p>
  
  <p>myself create an application and use it.</p>
  
  <p>There is a datetimepicker in the website in which I want to select the date programatically </p>
  
  <p>click the go button and later view in excel.when I click view on excel it downloads the file </p>
  
  <p>of the data of the particular date. You can see this link and understand what i want to say.</p>
  
  <p><a href="http://www.mcxindia.com/sitepages/bhavcopy.aspx" rel="nofollow">http://www.mcxindia.com/sitepages/bhavcopy.aspx</a></p>
  
  <p>There would be a great appreciation if someone could help me.</p>
  
  <p>Thanks In Avance.</p>