android - How To check data-base Table to find whether the value is already there? -
I am new to Android and sqlLite, I want to prepare the code to check whether it was given in the edit text. Is the value already present or not the database table or not?
Try the following:
boolean EditTextValue = false; Cursor cursor = database.value ("select * FROM" + TABLE_NAME, empty); While (cursor.movetyx ()) {string record_editival value = cursor.juststring (cursor.just column index ("editingtextualview")); If (record_editTextWholeValues (new_corrected_editTextValue)) {editTextValue = true; break; Record_AditText Value
/ Strong> Current Value of DB
Comments
Post a Comment