In my Windows application, I want to create an automation software using C#.NET which works in two steps:

  1. Select particular data and copy it from a page of a website. I have done it using web browser control for SelectAll. The data is not HTML data but databound data.
  2. Next, I want to save the copied contents of the page to an to excel sheet directly. There is no datatable or gridview to export, just the copied content directly from a page. I urgently need help for this code section.

I'll be grateful for your immediate help.

This site was of great help to me when I had a somewhat similar problem.

Will .NET Excel API which supports converting .asp page to Excel file can sovle your problem?