Fork me on GitHub
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: is not null --查询不为空的数据(时间) is null --查询为空的数据(时间) datediff()函数 定义和用法 DATEDIFF() 函数返回两个日期之间的天数。 语法 DATEDIFF(datepart,startdate,enddate) startdate 和 endd 阅读全文
posted @ 2018-11-08 13:23 都一样* 阅读(16257) 评论(0) 推荐(1)
摘要: import requests import os root = "C://Users//-PC//Desktop//python//" try: for x in range(1,5): url = 'http://game.gtimg.cn/images/yxzj/img201606/skin/hero-info/142/142-bigskin-{0}{1}'.f... 阅读全文
posted @ 2018-11-07 22:30 都一样* 阅读(893) 评论(0) 推荐(0)
摘要: 在查询的时候要模糊查询出数据中带"_ "的数据 图一 阅读全文
posted @ 2018-11-06 11:55 都一样* 阅读(1369) 评论(0) 推荐(0)
摘要: -- SQL Server跨服务器查询 -- 创建链接服务器 -- exec sp_addlinkedserver 'ITSV', '', 'SQLOLEDB', '远程服务器名或ip地址' -- exec sp_addlinkedsrvlogin 'ITSV', 'false',null, '用户 阅读全文
posted @ 2018-11-01 16:46 都一样* 阅读(256) 评论(0) 推荐(0)
摘要: Read1方法是通过使用MessageBox.wait()方法实现进度条。wait()方法有三个参数msg:String类型,用来显示弹出框内容;title:String类型,弹出框的标题,该参数不是必须的;config:Object类型,进度条的配置,该参数不是必须的。Read2方法是使用Mess 阅读全文
posted @ 2018-10-31 18:35 都一样* 阅读(1694) 评论(0) 推荐(0)
摘要: int V = (pr.ToString().IndexOf(".")); if (V != -1) { pr = int.Parse(pr.ToString().Substring(0, V)); } 取整: doule i=100.11; int index = i.IndexOf(".");  阅读全文
posted @ 2018-10-30 17:29 都一样* 阅读(4214) 评论(0) 推荐(0)
摘要: SELECT INTO 语句:表示从一个表中选取数据,然后把数据插入另一个表中,常用来备份一张表 1.全表结构备份: SELECT * INTO new_table_name FROM old_tablename; 示例:备份student表,备份表取名为student_backup select 阅读全文
posted @ 2018-10-06 14:15 都一样* 阅读(79396) 评论(0) 推荐(2)
摘要: 转自:http://www.cnblogs.com/moli-/p/6406170.html 在用到下拉列表框select时,需要对选中的<option>选项触发事件,其实<option>本身没有触发事件方法,我们只有在select里的onchange方法里触发。 想添加一个option的触发事件, 阅读全文
posted @ 2018-10-05 17:36 都一样* 阅读(35773) 评论(0) 推荐(0)
摘要: using System.Diagnostics; //引入命名空间string str = this.textBox1.Text.Trim().ToString();//只能输入正整数 bool isNumber = System.Text.RegularExpressions.Regex.IsMatch(str, @"^[1-9]\d*$"); //正则表达... 阅读全文
posted @ 2018-09-24 18:10 都一样* 阅读(376) 评论(0) 推荐(0)
摘要: Extjs的几种简单的提示框 一、Ext.MessageBox.alert()和Ext.MessageBox.show(): 1.成功的提示: 二、Ext.MessageBox.confirm(): 确认提示框 三、Ext.MessageBox.prompt(): (回调函数中包含了btnId和te 阅读全文
posted @ 2018-09-23 11:57 都一样* 阅读(5325) 评论(0) 推荐(1)
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页