>I showed data in GridView using C#. I want export it in Excel. Please help me how to do this.
>below code is used to show gridview.
>and also suggest how to enable sorting and delete feature in grid.
I would recommend to use a tool like Flexcel. We use it to Export and Import. While importing can be done without investing such as using the Access engine, exporting is more complicated.
http://www.tmssoftware.com/site/flexcelnet.asp