how to export retrieved grid view data from database in asp.net using C# Coding..
i am using ASPX as a Master Page and ASCX Page as a child page. i want to write code for ASCX Page.
In ASCX page i retrieved to data from database using textbox control after submit button clicks..
whatever data comes from database into Gridview that data export into excel sheet when Export button Clicks..
plz help me..
Yours
Akhaya

Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Nov 30, 2014, 6:41 PM EST
Hi Akshya Harsha,
Read these links it may help you
http://www.codeproject.com/Tips/477436/Export-Gridview-Data-to-Excel-in-ASP-NET
http://www.c-sharpcorner.com/UploadFile/DipalChoksi/exportxl_asp2_dc11032006003657AM/exportxl_asp2_dc.aspx?ArticleID=000c64fb-8a22-414a-8247-984335aaa0eb
now modify the above code and use it into user controls.