Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

How to sqlite statement to update duedate of the row whose name is myname and dob is mydob

0

43 views

Hi I have the below statement to update a row in the table

    ContentValues myValues = new ContentValues();
    myValues.put("duedate", duedate);

    return mDb.update(DATABASE_TABLE, myValues,"name" + "=?" + "dob" + "=?", new String[] { myname,mydob });

I want to update the duedate of the row whose name is myname and dob is mydob.

The above code is not working. Can you please help me how to do it.

Thanks, Vijay

asked June 24, 2011 2:26 pm CDT
posted via StackOverflow

0 Answers

Be the first to answer this question

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions