INSERTINTOtable_name(col_name1,col_name2,col_name3)VALUES('value1','value2');语句中,前后列数不等造成的转自:http://blog.csdn.net/ilbubby/article/details/6596119
分类:
数据库 时间:
2014-07-16 22:58:44
阅读次数:
218
这次我们来说下嵌套列:为了使用内置的栅格系统将内容再次嵌套,可以通过添加一个新的 .row 元素和一系列 .col-sm-* 元素到已经存在的 .col-sm-* 元素内。被嵌套的行(row)所包含的列(column)的个数不能超过12(其实,没有要求你必须占满12列)。 ...
分类:
其他好文 时间:
2014-07-14 08:03:11
阅读次数:
193
//将字符串反转,但单词不倒置。#include#includevoid reverse(char *s){ char data[255][255];//将s中的空格和非空格子串进行存储 int row = 0,column = 0; int i,j,k; for(i=0;s[i];) { data...
分类:
其他好文 时间:
2014-07-13 09:31:51
阅读次数:
202
if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Cells[6].Text = Server.HtmlDecode(e.Row.Cells[6].Text); e.Row.Ce...
分类:
其他好文 时间:
2014-07-13 09:01:38
阅读次数:
158
1. Set Serveroutput on; declare Cursor tem_cursor is select * from xuesheng xs; v_row tem_cursor%rowtype;begin open tem_...
分类:
数据库 时间:
2014-07-13 00:35:28
阅读次数:
195
近日查看数据库运行较长的语句,发现我们这边的开发人员真是厉害,不懂装懂的本领真高。
开发以为只要走索引就是快的,而且刚好知道index hint可以强制走索引,所以就用上了。可是走的是bitmap index full scan,把整个索引都扫描了,然后根据索引的位图转化(bitmap conversion to rowids)成rowid,再根据索引的rowid和表的row...
分类:
其他好文 时间:
2014-07-12 23:01:24
阅读次数:
333
$links = array();
//获取系统菜单,所有权限都默认进行了验证
$links['case-edit']=menu_get_item('node/'.$row->nid.'/edit');
//自定义链接地址
$links['custom_url']=array(
'title' => t('custom_url'),
...
分类:
其他好文 时间:
2014-07-12 21:02:44
阅读次数:
236
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
原题链接:https:/...
分类:
其他好文 时间:
2014-07-12 20:43:11
阅读次数:
213
贪吃蛇游戏设计中主要需要注意的几点:
1:坐标的定义:定义为左上角为(0,0),向右为x正方向,向下为y正方向
2:蛇的设计,
蛇身:m_body,这里用的是链表(是之前写好的双链表),一个节点就是蛇身的一节
每节蛇身的属性包括x,y坐标:column_x,row_y,x表示在地图上的第几列,y表示在地图上的第几行
蛇有一个属性叫朝向,也就是当前在往上、下、左、右的哪个方向移动:...
分类:
其他好文 时间:
2014-07-11 00:34:19
阅读次数:
402
String value=this.getValue((HSSFCell) row.getCell(position))
数字类型 时间类型 字符串类型验证没问题,
数字类型如果是1234.0会将其变成1234 如果是1234.5保存仍然保持小数位1234.5,用来解决电话号码和普通数字问题
时间类型将其格式化成了 2015-12-09 12:13:12这种格式便于保存数据库...
分类:
其他好文 时间:
2014-07-10 20:30:56
阅读次数:
270