学习了php中如何建立与数据库的连接以及执行sql语句 几个常用操作数据库函数: mysqli_connect(...) 建立与数据库的连接 mysqli_num_rows(...)返回查找到的行数 mysqli_fetch_arrays(...)将查找到的信息以数组的形式返回 ...
分类:
Web程序 时间:
2017-10-13 20:19:06
阅读次数:
237
DataTable dt = new DataTable(); dt.Columns.Add("student_no"); dt.Columns.Add("student_name"); dt.Rows.Add("001", "June"); dt.Rows.Add("002"... ...
分类:
编程语言 时间:
2017-10-12 20:35:09
阅读次数:
297
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font ...
分类:
其他好文 时间:
2017-10-11 10:38:08
阅读次数:
139
主要引用http://club.excelhome.net/thread-759847-1-1.html 1 Sub chengji() 2 ' 3 ' 宏1 宏 4 ' 5 Dim Finalrow As Integer 6 Finalrow = Cells(Rows.Count, 2) 'Row ...
分类:
其他好文 时间:
2017-10-09 21:07:27
阅读次数:
193
自动化测试时,有时会定位不到某些元素,是因为这些元素在frame中,所以必须先进入到frame中,才能再去定位要定位的元素。 frame是页面的框架,即在一个浏览器的窗口显示多个页面,可以是水平框架和垂直框架,以下截图是垂直框架(cols),垂直是rows 以下为一个简单的包含iframe的HTML ...
分类:
其他好文 时间:
2017-10-09 10:57:57
阅读次数:
181
On an NxN chessboard, a knight starts at the r-th row and c-th column and attempts to make exactly K moves. The rows and columns are 0 indexed, so the ...
分类:
其他好文 时间:
2017-10-09 00:27:39
阅读次数:
333
未实现定时刷新
Sub抓取股票价格()
OnErrorResumeNext
Setregx=CreateObject("vbscript.regexp")‘
regx.Global=True
regx.Pattern="\[""(.*)"",""(.*)"",(\d+),(.*),(.*),(\d{8}).*\]"‘
arr_stock=Range(Cells(2,1),Cells(Cells(Rows.Count,1).End(xlUp).Row,1))‘股票代码数..
分类:
编程语言 时间:
2017-10-07 21:22:47
阅读次数:
324
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example,Given the following matrix: You s ...
分类:
其他好文 时间:
2017-10-02 17:50:20
阅读次数:
152
权限问题,授权 给 root 所有sql 权限 mysql> grant all privileges on *.* to root@"%" identified by "PASSWORD"; Query OK, 0 rows affectedmysql> flush privileges;Quer... ...
分类:
数据库 时间:
2017-10-01 12:27:19
阅读次数:
311
创建用户: mysql> grant all on db1.* to mycat@'%' identified by '123456'; Query OK, 0 rows affected (0.00 sec) mysql> flush privlege; 查看: mysql> select use... ...
分类:
数据库 时间:
2017-09-30 21:02:53
阅读次数:
2464