public void addInfo() { // add the new data to the db helper.getWritableDatabase(); ContentValues cv = new ContentValues(); cv.put(ed1.getText().toString(), category); cv.put(ed2.getText().toString(),shape); cv.put(ed3.getText().toString(),prise); db.insert(helper.TABLE_PRODUCT,null,cv); Toast.makeText(getApplicationContext(),"Data Successfully Entered",Toast.LENGTH_LONG).show(); db.close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)