How to convert a html table to downloadable excel file ASP.NET C#
<p>I need a function to convert any HTML table to a excel file! </p>

<p>I like to add a button to my page and once that button is clicked I pass a complete HTML table in to such a function that will generate an excel file and past the html table into the file with the same layout and design!</p>

<p>I appreciate any help with this request. </p>

<p>I am using c# and asp.net</p>
