在导出excel的页面的aspx文件开头的第一句加入:EnableEventValidation = "false"
具体看下面:
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation = "false" CodeFile="fdzViewApply.aspx.cs" Inherits="fdzViewApply" %>
转载于:https://www.cnblogs.com/joelbh/archive/2007/06/13/782421.html