技术为产品服务,产品为业务服务!

我要努力,我要发达!

 

解决导出excel中出现的错误:只能在执行 Render() 的过程中调用 RegisterForEventValidation

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


posted on 2007-06-13 16:52  joe  阅读(339)  评论(0编辑  收藏  举报

导航