I have a page created using Web Parts in \[code\]C#.NET 4.0\[/code\]. It has a flexible UI and the user can change the position of the controls by dragging & dropping them. This page also has a functionality of "Export to Excel" in which the content of the page is exported to Excel.As the layout of the page can be changed by the user so I cannot create a \[code\]HTML\[/code\] Table from C# and export it to \[code\]Excel\[/code\]. Can anyone suggest me a way to overcome this problem? I want the excel to have the same positioning & content of the controls as it is currently visible to the user on the web page.