摘要: 在全局程序中添加过滤sql敏感 protected void Application_BeginRequest(object sender, EventArgs e) { //遍历Post参数,隐藏域除外 foreach (string i in this.Request.Form) { if (i 阅读全文
posted @ 2019-09-04 16:47 karen555 阅读(523) 评论(0) 推荐(0) 编辑
摘要: c#随机生成强密码 至少包含一位数字、一位大写字母和一位小写字母 string chars = "0123456789ABCDEFGHIJKLMNOPQSTUVWXYZabcdefghijklmnpqrstuvwxyz"; Random randrom = new Random(getNewSeed 阅读全文
posted @ 2019-09-04 16:46 karen555 阅读(1545) 评论(0) 推荐(0) 编辑