摘要: Alert.show("注销?\n 注意:重新登录需要在联网状态下","",Alert.OK | Alert.NO,this,closeEvt,null,Alert.NO); public function closeEvt(event:CloseEvent):void { if(event.detail==Alert.OK) { ... 阅读全文
posted @ 2008-11-26 09:43 7x10 阅读(1905) 评论(0) 推荐(0) 编辑
摘要: System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath();path.AddEllipse(this.btn_1.ClientRectangle); this.btn_1.Region = new System.Drawing.Region(path); 阅读全文
posted @ 2008-11-25 11:45 7x10 阅读(369) 评论(0) 推荐(0) 编辑
摘要: --添加只允许访问指定表的用户: exec sp_addlogin '用户名','密码','默认数据库名' --添加到数据库 exec sp_grantdbaccess '用户名' --分配SELECT整表权限 GRANT SELECT ON tabl... 阅读全文
posted @ 2008-11-22 14:51 7x10 阅读(1819) 评论(0) 推荐(0) 编辑
摘要: SET IDENTITY_INSERT users on insert into users(userID,userName,userPwd) values(3,'ffffff','fdsaf') SET IDENTITY_INSERT users off 阅读全文
posted @ 2008-11-22 12:19 7x10 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 一开始IIS不能启动,查看服务后发现有服务不知道什么时候停了, (很奇怪,所有相关服务都启动后IIS还是不能启动,最后挨个点,把ALERTER服务启动后,IIS可以启动了,然后ALERTER 再关闭也没有问题- -!) 启动以后结果所有页面显示IIS500 从网上找到下面的解决办法:照着做了以后OK! COM+ Event System COM+ System Application 进入 控... 阅读全文
posted @ 2008-11-22 12:14 7x10 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 删除' HeaderText="操作" ButtonType="Link" ShowEditButton="true" ShowDeleteButton="true" /> 不过,要在后台中向客户端注册javascript脚本,在Page_Load事件中: string sScript = "var confirm_this='你确定要删除吗?';"; Clien... 阅读全文
posted @ 2008-11-22 12:06 7x10 阅读(181) 评论(0) 推荐(0) 编辑