Exporting datafrom sql server database into excel

Twice's Avatar
Light Poster
Hi All
i need help with exporting data from sql server database into an excel spreadsheet.
Any C# code and stored procedures will be greatly appreciated.

Thanx
0
Peter_28's Avatar, Join Date: Sep 2008
Newbie Member
Did You consider to use Report Viewer 2005?

This control has export to excel and pdf. Its also free fo VS 2005 Express. You can googl about it.

Cheers
Pere

Last edited by shabbir; 5Sep2008 at 13:53.. Reason: Confine links to signatures only.