Exporting data into Excel, Word in ASP.NET - Please help !!!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi all,

I have a datagrid control with data in my Web page. I have a Link button
"Exporting data" like this:

<asp:Linkbutton id="linkbtn3" Visible="false" Text="Exporting data"
OnClick="ExportingData" Runat="Server" />

How does the code look like in the Sub "ExportingData" to export data into
excel, word ..?

Please give me your ideas ? Thanks in advance


.


Quantcast