阅读背景:

如何防止LinqDataSource子句在回发时重置?

来源:互联网 

I'm trying to set the where clause on a LinqDataSource object bound to a GridView programmatically on a button click, but when the GridView rebinds data (for instance, when the user sorts) the Where clause resets back to the empty string. Is there a way to prevent this, or is there a better way to filter my results?I'm trying to set the where clause on a LinqDat




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: