摘要: function yanzheng(val) { return val.replace(/(^\s*)|(\s*$)/g, ""); }function Inputchecking() { var account = document.getElementById("txt_ACCOUNT");... 阅读全文
posted @ 2014-05-16 13:43 biaosky 阅读(147) 评论(0) 推荐(0) 编辑
摘要: [System.Runtime.InteropServices.DllImport("winmm.DLL", EntryPoint = "PlaySound", SetLastError = true)] private static extern bool PlaySound(string sz... 阅读全文
posted @ 2014-05-16 13:21 biaosky 阅读(1500) 评论(0) 推荐(0) 编辑
摘要: SQL中的循环、for循环、游标我们使用SQL语句处理数据时,可能会碰到一些需要循环遍历某个表并对其进行相应的操作(添加、修改、删除),这时我们就需要用到咱们在编程中常常用的for或foreach,但是在SQL中写循环往往显得那么吃力,翻遍网上的资料,找不到几个正确的并能执行的循环处理数据的方法,在... 阅读全文
posted @ 2014-05-16 13:18 biaosky 阅读(294) 评论(0) 推荐(0) 编辑
摘要: //此方法可以一次导入百万数据public int GetDevicesExel(string fileName, string users, out string repIMEI) { int res = 0; #region exel导入... 阅读全文
posted @ 2014-05-15 11:27 biaosky 阅读(1684) 评论(0) 推荐(0) 编辑