码迷,mamicode.com
首页 >  
搜索关键字:row editing    ( 12630个结果
PHP、Java输出json格式数据
PHP 输出json。 $result = mysql_query($sql); //查询结果 $users=array(); $i=0; while($row=mysql_fetch_array($result,MYSQL_ASSOC)){ $users[$i]=$row; $i+...
分类:编程语言   时间:2014-07-07 11:12:16    阅读次数:293
GridView等表格模板列绑定数据的方法
//绑定GridView每一行中的CheckBoxList protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataCon...
分类:其他好文   时间:2014-07-06 23:55:28    阅读次数:362
Qt模型/视图中的data和headerData
QAbstractItemModelQAbstractItemModel是一个抽象类,该抽象类未实现的纯虚方法有QModelIndex QAbstractItemModel::index(int row, int column, const QModelIndex & parent = QModel...
分类:其他好文   时间:2014-07-06 13:26:45    阅读次数:228
几行几列算法
var col:int = 6;var row:int = 4;var len:int = col*row;for(var i:int = 0;i<len;i++){ var item:Item = new Item(); item.x = item.width*(i%col); item....
分类:其他好文   时间:2014-07-05 21:20:25    阅读次数:136
如何在asp.net中获取GridView隐藏列的值?
在阅读本文之前,我获取gridview某行某列的值一般做法是这样的:row.Cells[3].Text.ToString()。有点傻瓜呵呵在Asp.net 2.0中增加了一个新的数据绑定控件:GridView,其目的用来取代Asp.net1.x中的DataGrid控件。获取GridView中的某列值...
分类:Web程序   时间:2014-07-05 16:58:05    阅读次数:272
MySQL在Windows和Linux下还原数据库
Linux下还原数据库代码: 1,创建一个空的数据库cddl mysql> create database cddl; Query OK, 1 row affected (0.00 sec) 2,还原数据库 [root@chicago mysqlsoftware]# cd /etc/rc.d/init.d [root@chicago mysqlsoftware]# cd /etc/rc...
分类:数据库   时间:2014-07-04 08:58:17    阅读次数:301
asp.net mvc easyui datagrid分页
提到 asp.net mvc 中的分页,很多是在用aspnetpager,和easyui datagrid结合的分页却不多,本文介绍的是利用easyui 中默认的分页控件,实现asp.net mvc分页。easyui datagrid分页要求数据采用的格式 :{total:2,row:[]},在as...
分类:Web程序   时间:2014-07-03 20:18:33    阅读次数:533
row_number() OVER (PARTITION BY COL1 ORDER BY COL2)
row_number() OVER (PARTITION BY COL1 ORDER BY COL2) --表示根据COL1分组,在分组内部根据 COL2排序,而此函数返回的值就表示每组内部排序后的顺序编号(组内连续的唯一的) 例子一: create table student (id int ,classes int ,score int); insert into student val...
分类:其他好文   时间:2014-07-03 18:33:50    阅读次数:213
第三方库RATreeView的使用记录
由于项目需要用到树状列表,可以增加成员变量,于是用了第三方RATreeView开元库,头一次使用,安装github上的使用说明和Demo跑了一下,挺满意,增加成员什么的都很简单,和tableview很像是,但是在处理选择的cell时我纠结了一会,用惯了tableview的index:index.row   index.section等,猛然接触到RATreeView处理时,不知道该如何办了,下面记...
分类:其他好文   时间:2014-07-03 13:34:23    阅读次数:216
螺旋矩阵算法
//螺旋输出1-25 public class Sequence { public static void main(String[] args) { int n = 5; // 0:向右,1:向下,2:向左,3:向上 int direction = 0; // 行,列 int row = 0, col = 0; int num = 0; int[] array = new ...
分类:其他好文   时间:2014-07-02 09:46:28    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!