在导出excel的页面的aspx文件开头的第一句加入:EnableEventValidation = "false"
具体看下面:
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation = "false" CodeFile="fdzViewApply.aspx.cs" Inherits="fdzViewApply" %>
在导出excel的页面的aspx文件开头的第一句加入:EnableEventValidation = "false"
具体看下面:
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation = "false" CodeFile="fdzViewApply.aspx.cs" Inherits="fdzViewApply" %>