Friday, 18 September 2015

SQLite with Flex

Hello Readers! This blog is about how to use SQLite in Flex.
Before proceeding a brief introduction to SQLite. SQLite is a relational database management system contained in a small C programming library,it is an embedded SQL database engine and a compact library. It implements a self-contained, serverless, zero-configuration, transactional SQL database engine and the transactions are atomic, consistent, isolated, and durable (ACID) even after system crashes and power failures.There is no set up required and does not need to be configured before it is used.
And here goes the code!! In this the "name" and "password" will insert into the table named "login" when a user click the button.
 
  1. import flash.data.SQLConnection;
  2. import flash.data.SQLMode;
  3. import flash.data.SQLResult;
  4. import flash.data.SQLStatement;
  5. import flash.errors.SQLError;
  6. import flash.events.EventDispatcher;
  7. import flash.events.SQLErrorEvent;
  8. import flash.events.SQLEvent;
  9. import flash.filesystem.File;
  10. import flash.net.Responder;

  11. public class SQLHandler extends EventDispatcher
  12. {

  13. private var conn:SQLConnection;
- Read the complete set of codes and Full Blog at: SQLite with Flex
 
FindNerd’s Php questions and answers forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.

Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java developer Forum

No comments:

Post a Comment