title: Update Query not working in Android Sqlite
body: <p>My Java code   Update Data base Table</p>
  
  <pre><code>String qq="UPDATE ChallanItems SET Recieve ="+str+" WHERE ItemNo = "+code;
                      Log.d("Qry", qq);
                       myDbHelper.updatequery(qq);
  </code></pre>
  
  <p>updatequery method</p>
  
  <pre><code>public void updatequery(String qry)
      {
          Cursor c = myDataBase.rawQuery(qry, null);
  
  
          Log.d("Up", ""+c.getCount());
      }
  </code></pre>
  
  <p>When i updated Data base the count return 0 and table not updated</p>
  
  <p>I am using this Also but not work</p>
  
  <pre><code>String qq="UPDATE ChallanItems SET Recieve ="+str+" WHERE ItemNo = "+"'"+code+"'";
  </code></pre>
  
  <p>Please Help Me how i can fix this problem</p>
  
  <p>Thanks In Advance</p>