码迷,mamicode.com
首页 >  
搜索关键字:cursor    ( 2614个结果
如何改变链接的鼠标形状
只需在链接上加上这一代码就行的了或者跟上面的用CSS写也行style="cursor:hand" style="cursor:crosshair"style="cursor:text" style="cursor:wait"style="cursor:move" ...
分类:其他好文   时间:2015-04-16 12:15:57    阅读次数:125
android 数据库 总结
android 数据库 总结 第一步:自己编写一个类 继承 SQLiteOpenHelper,如下 package com.example.wxj2048; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.d...
分类:移动开发   时间:2015-04-15 17:10:43    阅读次数:158
双色球预测的一次尝试——修正
经过三次计算,发现计算结果相差不大,所以觉得预测算法不够完善,现在还不知道如何使用其他的方式来预测,所以只能计算每次预测的误差平均值,在预测的时候加上这个误差平均值,看看效果(PS:今天4月10日预测出来的1号球居然是0····所以才想着用误差平均值来修正)。 修改的Python代码如下: #查询误差数据 cursor.execute('select * from tb_error...
分类:其他好文   时间:2015-04-15 11:28:17    阅读次数:121
background:url 的使用方法
1 #pingfen li{2 width:27px;3 float:left;4 height:28px;5 cursor:pointer;6 background:url('star.gif') no-re...
分类:Web程序   时间:2015-04-14 16:13:58    阅读次数:123
andorid 开发笔记 -- 问题与解决
1. SQLiteDataBase 中 TimeStamp 转化为 Date 的问题:java.text.ParseException: Unparseable date: "Sun Jan 25 21:15:51 GMT+08:00 2 解决:读取数据时用 Cursor.GetString().....
分类:其他好文   时间:2015-04-14 12:51:50    阅读次数:140
EditText 光标不显示问题
android:textCursorDrawable="@drawable/bg_txt_cursor"1 3 5 6 7
分类:其他好文   时间:2015-04-13 18:49:26    阅读次数:93
<Android>列表、网格、画廊视图及适配器的绑定
列表视图和适配器的绑定列表视图既可以使用ListView组件,也可以继承ListActivity。显示可以是ArrayAdapter,也可以是游标SimpleCursorAdapter,还可以是继承BaseAdapter展示其它视图。Cursor c = getContentResolver().q...
分类:移动开发   时间:2015-04-13 01:41:19    阅读次数:214
[Practical.Vim(2012.9)].Drew.Neil.Tip28 学习摘要
Tip28 Use Line Numbers as an Address If we enter an Ex command consisting only of a number, then Vim will interpret that as an address and move our cursor to the specified line.Specify a Range of Lines...
分类:系统相关   时间:2015-04-13 00:25:22    阅读次数:230
GOF23设计模式之迭代器模式理解与实现
?? 迭代器模式      场景:          提供一种可以遍历聚合对象的方式。又称为游标cursor模式          聚合对象:存储数据          迭代器模式:遍历数据   聚集抽象类 Aggregate Iterator 迭代抽象类,用于定义得到开始对象,得到下一个对象,判断是否...
分类:其他好文   时间:2015-04-12 09:17:01    阅读次数:165
python use pymysql
import pymysqlconn = pymysql.connect(host='localhost', port=3306, user='root', passwd='123456', db='mydb')cur = conn.cursor()cur.execute("SELECT * FRO...
分类:数据库   时间:2015-04-11 08:52:39    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!