1、asp.net页面生命周期,viewstate是什么,IsPostBack的原理
页请求、开始、页初始化、加载、验证、回发事件处理、呈现、卸载
viewstate是用来存储服务器控件状态值的键值对数据集合
!IsPostBack页面第一次加载时执行
2、查找有且仅有权限1与权限2的用户
uid pid
1 1
1 2
1 5
2 1
2 2
3 7
select uid
from tb
where uid in (select uid from tb where pid in (1,2))
group by uid
having count(distinct pid) = 2
3、使用DataAdaptor和DataSet更新数据库