There is a gridview which includes some data.
The header style of that gridview is
<HeaderStyle BackColor="#006699" CssClass="GridViewHeader" Font-Bold="True" ForeColor="White" />
How can I export that gridview to excel? I want to export what I see, colour, filter etc.
when I follow this link gridview to excel
I get error because it says there there should be form tag which includes runat="server" but when I add it, it gives again error because masterpage has already have a form..