上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 35 下一页
摘要: rowIndex属性是从thead内的行开始的,如果thead内有两行,则tbody中的的第一行的rowIndex值为2而$(tbody tr:eq(2))表示的是tbody内的第二行。 阅读全文
posted @ 2012-07-30 14:39 kuailewangzi1212 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 1、主界面main.xml<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="fill_parent"android:layout_height="fill_parent"android:orientation="vertical"><Line 阅读全文
posted @ 2012-07-30 00:02 kuailewangzi1212 阅读(13943) 评论(1) 推荐(1) 编辑
摘要: 1、创建数据库和升级数据库packageorg.jgw.service;importandroid.content.Context;importandroid.database.sqlite.SQLiteDatabase;importandroid.database.sqlite.SQLiteDatabase.CursorFactory;importandroid.database.sqlite.SQLiteOpenHelper;publicclassDBOpenHelperextendsSQLiteOpenHelper{publicDBOpenHelper(Contextcontext){s 阅读全文
posted @ 2012-07-29 18:22 kuailewangzi1212 阅读(418) 评论(0) 推荐(1) 编辑
摘要: 1、android文件的操作数据存放在“data/data/org.jgw.hello/files/”下如下图2、读写文件的代码如下3、将文件保存在sdcard3.1、权限配置在mainfest中3.2、用绝对路径和函数取的sdcard路径写数据,用函数取路径可以兼容各个版本android系统3.3、判断sdcard状态 阅读全文
posted @ 2012-07-25 21:57 kuailewangzi1212 阅读(200) 评论(0) 推荐(0) 编辑
摘要: <?xmlversion="1.0"encoding="utf-8"?><manifestxmlns:android="http://schemas.android.com/apk/res/android"package="org.jgw.hello"android:versionCode="1"android:versionName="1.0"><uses-sdkandroid:minSdkVersion="8"/>& 阅读全文
posted @ 2012-07-25 20:47 kuailewangzi1212 阅读(184) 评论(0) 推荐(0) 编辑
摘要: <html><head><scripttype="text/javascript">functionsleep(n){varstart=newDate().getTime();while(true)if(newDate().getTime()-start>n)break;}functionhandleClick(abc){vardiv;div=document.createElement("span");div.innerHTML=abc+"";document.body.appendChil 阅读全文
posted @ 2012-07-25 15:59 kuailewangzi1212 阅读(364) 评论(0) 推荐(0) 编辑
摘要: <html><head><scripttype="text/javascript">functionhandleClick(abc){vardiv=document.createElement("div");div.innerHTML=abc;document.body.appendChild(div);}functionprocessArray(items,process,callback){vartodo=items.concat();//克隆数组setTimeout(function(){varitem=todo 阅读全文
posted @ 2012-07-25 15:26 kuailewangzi1212 阅读(157) 评论(0) 推荐(0) 编辑
摘要: <?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="fill_parent"android:layout_height="fill_parent"android:orientation="vertical"><TextViewandroid:l 阅读全文
posted @ 2012-07-25 00:03 kuailewangzi1212 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 代码packageorg.jgw.hello;importjava.util.ArrayList;importandroid.app.Activity;importandroid.content.Intent;importandroid.net.Uri;importandroid.os.Bundle;importandroid.widget.Button;importandroid.widget.EditText;importandroid.widget.Toast;importandroid.telephony.SmsManager;importandroid.view.*;publiccl 阅读全文
posted @ 2012-07-23 23:10 kuailewangzi1212 阅读(216) 评论(0) 推荐(0) 编辑
摘要: --批次模型create table mxh( fifo_id int identity(1,1), q decimal(13,4) default(0), entry_q decimal(13,4) default(0) )insert into mxh(q,entry_q) values(10,10)insert into mxh(q,entry_q) values(10,10)insert into mxh(q,entry_q) values(10,10)alter view v_mxhasselect fifo_id,q,entry_q,(select sum(q) from mxh. 阅读全文
posted @ 2012-07-23 13:05 kuailewangzi1212 阅读(199) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 35 下一页