我收到类似“编译 DELETE FROM 表时没有这样的列”的错误。请帮忙
public String getData() {
String[] columns = new String []{KEY_ROWID, KEY_HEADER, KEY_QUOTE_VALUE};
Cursor c = ourDatabase.query(DATABASE_TABLE, columns, null, null, null, null, null);
String result = "";
int iRow = c.getColumnIndex(KEY_ROWID);
int iHeader = c.getColumnIndex(KEY_HEADER);
int iQuote_value = c.getColumnIndex(KEY_QUOTE_VALUE);
for (c.moveToFirst(); !c.isAfterLast(); c.moveToNext()){
result = result + c.getString(iRow)+ "@" +c.getString(iHeader)+ ":" +c.getString(iQuote_value)+ ":";
}
return result;
}
public void deleteEntry(String Deldata1) throws SQLException {
ourDatabase.delete(DATABASE_TABLE, KEY_HEADER + "=" + Deldata1 , null);
}
}
请帮我