2011.09.29 12:56

String[] a = ["xxx", "yyy", "ttt"];


insert();


.

.

.


public void insert(){


for(int i=0; i<a.length(); i++){


String sql ="INSERT INTO tableName (a, b) VALUES("+a[i]+")";

db.setTransactionSuccessfull();

db.endTransaction();


}


}

신고
Posted by 그린블로그 DEV그린