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.
- Read the complete set of codes and Full Blog at: SQLite with 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.
- import flash.data.SQLConnection;
- import flash.data.SQLMode;
- import flash.data.SQLResult;
- import flash.data.SQLStatement;
- import flash.errors.SQLError;
- import flash.events.EventDispatcher;
- import flash.events.SQLErrorEvent;
- import flash.events.SQLEvent;
- import flash.filesystem.File;
- import flash.net.Responder;
- public class SQLHandler extends EventDispatcher
- {
- private var conn:SQLConnection;
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