Open main menu

CDOT Wiki β

Changes

Teams Winter 2011/team1/BlackBerry/Use SQLite

36 bytes added, 23:02, 11 April 2011
11.6 Create SQLiteManager Class
}
</source>
11.6.1 '''Open Database'''<br/>
Then we implement the opemDB() method:
<source lang="java">
}
</source>
11.6.2 '''Close Database'''<br/>
Then we definitely need a closeDB() method to use later:
<source lang="java">
}
</source>
11.6.3 '''Insert New Student'''<br/>
The first query we need is a query that enables us add a new Student, so we need to implement a method for that:
</source>
 11.6.4 Select All Students'''Delete Student'''<br/> gives us the list of all Students
<source lang="java">
</source>
  11.6.5 Delete '''Update Student'''<br/>
<source lang="java">
</source>
 11.6.6 Update Student'''Select All Students'''<br/> gives us the list of all Students
<source lang="java">
1
edit