上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 58 下一页
摘要: public static int Asc(string character) { if (character.Length == 1) { System.Text.ASCIIEncoding asciiEncoding = new System.Text.ASCIIEncoding(); int intAsciiCode = (int)asciiEncoding... 阅读全文
posted @ 2008-10-04 01:35 scgw 阅读(2251) 评论(0) 推荐(0) 编辑
摘要: ASCII码 键盘 ASCII 码 键盘 ASCII 码 键盘 ASCII 码 键盘 27 ESC ... 阅读全文
posted @ 2008-10-04 01:34 scgw 阅读(322) 评论(0) 推荐(0) 编辑
摘要: select * from yx_article where id=(select min(id) from dbo.yx_article where id>4) select * from yx_article where id=(select max(id) from dbo.yx_article where id<4) 阅读全文
posted @ 2008-10-04 01:33 scgw 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 号 内容 1 Taye 2 BOx ... 阅读全文
posted @ 2008-10-03 22:56 scgw 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 在SQL 2005中出现“数据类型 varchar 和 bit 在 add 运算符中不兼容”只需用convert()函数 如要把一个bit类型的变量@num转化为varchar类型:convert(varchar(4),@num)。 CREATE PROCEDURE [dbo].[sp_News_DeleteCategory1] @CategoryID Nvarchar... 阅读全文
posted @ 2008-10-03 22:32 scgw 阅读(4021) 评论(1) 推荐(0) 编辑
摘要: 编写通用的SQL防注入程序一般的http请求不外乎get 和 post,所以只要我们在文件中过滤所有post或者get请求中的参数信息中非法字符即可,所以我们实现http 请求信息过滤就可以判断是是否受到SQL注入攻击。 IIS传递给asp.dll的get 请求是是以字符串的形式,,当 传递给Request.QueryString数据后,asp解析器会分析Request.QueryStrin... 阅读全文
posted @ 2008-09-25 05:32 scgw 阅读(695) 评论(0) 推荐(0) 编辑
摘要: 鼠标移上去显示大图 效果一 阅读全文
posted @ 2008-09-25 05:30 scgw 阅读(380) 评论(0) 推荐(0) 编辑
摘要: explorer-------打开资源管理器 Nslookup-------IP地址侦测器 logoff---------注销命令 tsshutdn-------60秒倒计时关机命令 lusrmgr.msc----本机用户和组 services.msc---本地服务设置 oobe/msoobe /a----检查XP是否激活 notepad--------打开记事本 cleanmgr-------垃... 阅读全文
posted @ 2008-09-25 05:29 scgw 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 1,cmd 中,执行arp -d 清空arp 2,arp -a 查看arp 3,制作arp.bat ,arp -s 网关地址 mac地址 4,gpedit.msc -->windows设置 脚本(启动/关机)-->双击-->添加刚刚制作的arp.bat 即可. 即服务器每次启动时,都会自动绑定mac地址,而少受arp 攻击之苦 阅读全文
posted @ 2008-09-25 05:27 scgw 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 直接restore或附加应该是不行的, 用脚本+导数据肯定没有问题。 2005转到2000的步骤 1. 生成for 2000版本的数据库脚本 2005 的manger studio -- 打开"对象资源管理器"(没有的话按F8), 连接到你的实例 -- 右键要转到2000的库 -- 任务 -- 生成脚本 -- 在"脚本向导"的"选择数据库"中, 确定选择的是要转到2000的库 -- 勾选"为所选... 阅读全文
posted @ 2008-09-25 05:24 scgw 阅读(309) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 58 下一页