View Single Post
  #1 (permalink)  
Old January 28th, 2006, 06:58 AM
Rashmi_Dubey Rashmi_Dubey is offline
Registered User
Join Date: Jan 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in exporting data in a gridview to MSExcel


I am trying to export data from a GridView to a Microsoft Excel file.

But, I got an error message as below:
"Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server" , though the control tag is already inside the form tag with runat=server.

Please advise.

Thanks & Regards,