不,protected int x=1;在DataGrid的分页中不能用。
在asp.net中用ViewState保存一个数值变量无意义!是错的
呵呵,我在。