1.字符串的的拼接 function createTable (rows,cols){ var html = "<table>"; for(var i = 0;i<rows;i++){ html+="<tr>"; for(var j = 0;j<cols;j++){ html+="<td style ...
分类:
其他好文 时间:
2017-11-02 17:01:40
阅读次数:
110
--创建全局临时表 create global temporary table temp_table(id number,name varchar2(20)) on commit preserve rows; --只在同一个会话中有效 --测试代码如下: SQL> create global tem... ...
分类:
其他好文 时间:
2017-10-31 21:34:45
阅读次数:
140
前两天用mybatis的时候,发现这样一个问题,日志显示mytatis更新数据已经成功了,但是实际上数据库是没有更新到的,经过一番查找,发现mybatis更新的时候默认返回的是查找到的数据(Rows matched),而不是受影响的行数,如果需要的是更改的行数的话,需要设置useAffectedRo ...
分类:
其他好文 时间:
2017-10-31 18:56:37
阅读次数:
134
固定大小,滚动条,限制拖动,文字对齐 取值:$("#ID").val(); 控制大小:加width,height限制(style="width:100px;height:200px;");或row,col限制(<textarea rows="5" cols="7">); 限制拖动: style="r ...
分类:
其他好文 时间:
2017-10-30 14:59:44
阅读次数:
121
1.分页 url:controller的路径 pageSize:每页显示的行数 后台参数名(rows) 会向后台传递一个 page参数,表示当前页. 后台参数名(page) controller中: 后台接收两个参数 返回一个实体类为(变量名必须为total,和rows) class EasyUIP ...
分类:
编程语言 时间:
2017-10-26 23:06:07
阅读次数:
195
题目: Strange Game On Matrix Ivan is playing a strange game. He has a matrix a with n rows and m columns. Each element of the matrix is equal to either ...
分类:
其他好文 时间:
2017-10-25 21:46:51
阅读次数:
199
[表格对象] 1、 rows属性: 返回表格中的所有行,是一个数组格式; 2、 insertRow(index): 在指定位置插入一行,index从0开始; 后面括号里面的数字表示在第几行插入3、 deleteRow(index): 删除指定的一行,index从0开始; [行对象]1、 cells属 ...
分类:
Web程序 时间:
2017-10-25 21:42:34
阅读次数:
190
查询MySQL表的大小及索引大小可以通过系统库information_schema中的TABLES表来实现。 该表常用的一些字段: TABLE_SCHEMA:数据库名TABLE_NAME:表名ENGINE:所使用的存储引擎TABLES_ROWS:记录行数DATA_LENGTH:表大小INDEX_LE ...
分类:
数据库 时间:
2017-10-25 19:54:24
阅读次数:
176
html 页面 vue.js 控制器传过来(总条数,及数据) $data = array('rows'=>$data,'total'=>$total); ...
分类:
其他好文 时间:
2017-10-25 19:50:13
阅读次数:
1820
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-25 16:46:01
阅读次数:
168