08 2021 档案

js 验证攻击字符串 过滤
摘要:1 var Sstr = ["and","or","exec","execute","insert","select","delete","update","alter","create","drop","count","chr","char","asc","mid"," 阅读全文

posted @ 2021-08-20 14:23 张不胖 阅读(149) 评论(0) 推荐(0) 编辑

showDialogue(); 子窗口调用父窗口的方法
摘要:1 <script type="text/javascript"> 2 function lay() { 3 if (!!window.ActiveXObject || "ActiveXObject" in window) { 4 rs = window.showModalDialog('Displ 阅读全文

posted @ 2021-08-16 09:53 张不胖 阅读(375) 评论(0) 推荐(0) 编辑

用js写一个弹出层方法
摘要:需求:需要在页面上弹出一个层,类似一个自定义的MessageBox。 先在js文件中定义一个方法: 1 function qq_lay() {}; 2 qq_lay.prototype.open = function(h, w, t, url) { 3 var popBox = document.g 阅读全文

posted @ 2021-08-16 09:50 张不胖 阅读(401) 评论(0) 推荐(0) 编辑

在dt或者ds中排序查询 DataTable.AsEnumerable()
摘要:1 protected void Main() 2 { 3 DataSet ds=new DataSet(); 4 5 dt = ds.Tables[0]; 6 var tablequery = dt.AsEnumerable().OrderBy(a => a.Field<int>("level") 阅读全文

posted @ 2021-08-12 16:11 张不胖 阅读(680) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示