title: how to update and delete row from SQLitedatabase?
body: <p>I'm new to android developing , while I developing notepad application in front page <code>listview</code> contains item as title of notes , i want to update and delete a row from the <code>listview</code>:</p>
  
  <pre><code>public void Update(String txt)
      {
      ContentValues upateValues = createContentValues(txt);
      db.update(table_name, upateValues, row + "="+ "a", null);
      Toast.makeText(this, "Record Updated", Toast.LENGTH_SHORT).show();
      }
  
  public void Delete()
      {
      db.delete(table_name, "row" +"="+"jmj", null);
      Toast.makeText(this, "Record Deleted", Toast.LENGTH_SHORT).show();
      //Display();
      }
  </code></pre>
  
  <p>Is this query correct for update and delete operation?</p>