Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

it doesn't delete after i called delete method  RSS feed

 
sam liya
Ranch Hand
Posts: 1267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my main class



this is db class



after i called the delete method in main cactivity also ,record is still in db.The variable test has value as data.please help.
 
sam liya
Ranch Hand
Posts: 1267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I change the delete to below.Then it returns valo 0 from delete.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!