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.

Recommended Answers

All 3 Replies

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

Use WebClient class methods to read the URLs.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.