把LinqDataSource的EnableViewState属性设置为False。 转载于:https://www.cnblogs.com/codeyu/archive/2010/01/04/1639115.html