Hello,
I try to export a datagrid into a excel files,
I've read the help there:
http://www.codeproject.com/aspnet/DA...ortToExcel.asp
I've copied the code
but i receive this exceptionException:
Control 'dgDowntime_ctl02_ctl00' of type 'DataGridLinkButton' must be
placed inside a form tag with runat=server.
event if the datagrid is inside a form with runat=server...
<form id="Form1" method="post" runat="server">
<asp:DataGrid ID="dgDowntime" runat="server" Width="100%" .....
What am i missing?
Thank you!