Posted on: 1/9/2014 5:13:02 PM | Views : 585

I have a gridview that I want to export the data to Excel. My current code does that, but I want to only get the data from the gridview and not the buttons or paging.
HTML:
<asp:GridView ID="GridView3" runat="server" align="center" AllowPaging="True" AllowSorting="True"                     AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None"                     BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource3" Font-Size="Small"                  ...

Go to the complete details ...