官网: http://bootstrap-table.wenzhixin.net.cn/zh-cn/documentation/ 后端分页问题:后端返回”rows”、“”total,这样才能重新赋值 先初始化表格 做一些操作需要 更新表格数据 用refresh $(‘#my-table’).boot ...
分类:
Windows程序 时间:
2017-07-26 14:48:37
阅读次数:
1725
最近项目中使用了ClosedXML.dll来处理Excel,在读取Excel的时候,用workSheet.Rows()获取Excel行数,默认读取Excel最大行数1048576 所以为了读取到不是空的Row,那就要判断出有内容的最后一个行数 解决方案如下: ...
分类:
其他好文 时间:
2017-07-24 13:02:34
阅读次数:
177
一、数据库连接方式, 二、预处理后的返回 参考:http://www.php.net/manual/en/class.mysqli-stmt.php 注意。select查询语句后要保存查询结果。然后才有 num_rows; <?php /* Open a connection */ $mysqli ...
分类:
Web程序 时间:
2017-07-24 10:09:54
阅读次数:
217
EXTENDED LIGHTS OUT Time Limit: 1000MS Memory Limit: 10000K Description In an extended version of the game Lights Out, is a puzzle with 5 rows of 6 bu ...
分类:
其他好文 时间:
2017-07-24 00:22:54
阅读次数:
168
Linux 操作MySQL常用命令行注意:MySQL中每个命令后都要以分号;结尾。 1、显示数据库 mysql> show databases; +----------+ | Database | +----------+ | mysql | | test | +----------+ 2 rows... ...
分类:
数据库 时间:
2017-07-20 18:44:08
阅读次数:
204
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-07-19 12:07:43
阅读次数:
175
一: 要求: 上面的图表 中的数据插入到 3张表中. 1)t_vide_warehourse 分类表: 此表中包含 一级分类 和二级分类. 二级分类是一级分类的子级. 2)t_video_info 包名表 此表 管理 第一张表. 并且 只有 第二次分类 才可以有 包 名 . 一个二级分类下 可以 有 ...
分类:
数据库 时间:
2017-07-17 14:33:58
阅读次数:
515
1、官网下载ckeditor排版插件;2、将ckeditor文件夹放入项目目录下面;3、引入主文件:<scripttype="text/javascript"src="ckeditor/ckeditor.js"></script>4、在需要使用排版控件的地方引入控件:<textareaid="TextArea1"cols="20"rows="2"class="ckeditor">..
分类:
其他好文 时间:
2017-07-14 16:22:03
阅读次数:
189
将postgresql数组字段的初始值定为空串时报错,应设置为'{}' pq: 有缺陷的数组常量:"" 若数组字段rows.Scan用interface{}输入,会乱码,但如果字段可为null,scan又会报错 最后将表里面的字段设为not null,然后go读出的string为image=="{. ...
分类:
数据库 时间:
2017-07-13 22:41:09
阅读次数:
170
Oracle中查询 select * from table where rownum<=10; DB2中查询 select * from table fetch first 10 rows only; MySql中查询 select * from table limit 10; ...
分类:
数据库 时间:
2017-07-13 00:57:59
阅读次数:
512