023. Asp.net参数化查询预防Sql注入攻击
摘要:
1 /// 2 /// 参数化查询预防SQL注入式攻击 3 /// 4 public int checkLogin(string loginName, string loginPwd) 5 { 6 string strsql = "select count(*) from tb_LoginUser where UserName=@U... 阅读全文
posted @ 2016-12-08 16:53 印子 阅读(281) 评论(0) 推荐(0) 编辑