我执行了插入语句可是数据库没有插入数据
public void click(View view){
switch (view.getId()){
case R.id.btn_insert:
SQLiteDatabase db=sql.getWritableDatabase();
String sql1="insert into "+ Costant.TABLE_NAME+"values(1,'张三',20) ";
Dbmanager.execSQL(db,sql1);
String sql2="insert into "+ Costant.TABLE_NAME+"values(2,'lisi',21) ";
Dbmanager.execSQL(db,sql2);
db.close();
break;
}
}