flex airÁ¬½Ósqlite²éѯ±¨´í£ºno such table
XML code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import flash.data.SQLConnection;
import flash.data.SQLResult;
import flash.events.SQLErrorEvent;
import flash.events.SQLEvent;
import flash.filesystem.File;
public static var dataFile:File=File.applicationStorageDirectory.resolvePath("air.db");
private var conn:SQLConnection=new SQLConnection();
private var createStmt:SQLStatement=new SQLStatement();
private var result:SQLResult=new SQLResult();
private function connectTodataFile():void {
try {
conn.openAsync(dataFile);
createStmt.sqlConnection=conn;
var sql:String="select * from person;";
createStmt.text=sql;
var responder:Responder=new Responder(resultHandler, errorHandler);
createStmt.execute(1, responder);
} catch (error:SQLError) {
tst.text+=error.message + "\n" + error.details;
}
}
private func
Ïà¹ØÎÊ´ð£º
×î½ü¹«Ë¾ÓÃflex×öÒ»¸öÏîÄ¿£¬flexµÄtitleWindow£¨Ä£Ì¬¶Ô»°¿ò£©×îС»¯Ôõô×ö³öÀ´£¿×îºÃÓÐÍêÕûµÄ£¬ÄÜÖ±½ÓÔËÐв¢¿´µ½½á¹ûµÄÀý×Ó£¬hello world¼¶±ðµÄÒ²Ðа¡£¿
Ì«°ôÁË£¡YOU ARE VERY GOOD
ºÇºÇ ²»´í ѧϰÁË!
......
СµÜ Ūµã¶«Î÷¿ÉÊǵ÷Óà sqlite3_prepare Õâ¸öº¯Êý select ¾ÍºÃʹ Ö»Òª ¸Ä±äÊý¾Ý¿â µÄ¾Í²»ÐÐ ±ÈÈçinsert Ö®ÀàµÄ ËÀ´°ï¸öæ°¡ ÇëÎÊÕâÊÇʲôÔÒò °¡ Óà c ȥʵÏÖµÄ
ÄãÓõÄʲô¹¤¾ß°¡?
°ÑÄã×Ô¼ºµÄ´úÂë·¢ ......
flexµÄaddEventListener ÀïÃæº¯Êý²»ÄÜ´ø²ÎÊý°¡¡£
ÎÒÏÖÔڵŦÄÜÊÇÕâÑù¡£¡£
ÔÚ·þÎñÆ÷¶ËµÃµ½Ò»¸öArrayCollection ,È»ºó±éÀúÕâ¸öÊý×飬£¬È»ºóÔÚ¶¯Ì¬´´½¨button,buttonµÄclick¸ù¾ÝArrayCollection ÀïÃæ¶ÔÏóµÄid,ä¯ÀÀ¶ÔÏ ......
Flex µÄArrayµÄEveryº¯ÊýÔõôʹÓã¿
±ÈÈçÎÒÑéÖ¤Êý×éÖÐÊÇ·ñ°üº¬Ò»¸öÖµ£¬Õâ¸öÖµÊDZäÁ¿£¬²»Êdz£Á¿£¬
Everyº¯ÊýÔõôд£¿
http://blog.minidx.com/2008/06/19/912.html
¿ÉÒԲο¼
ÒýÓÃ
http://blog. ......
±êÌâºÃÏñûÓÐ˵Çå³þ£¬ÎÒ˵һÏÂÎÒÏëÒªµÄЧ¹û£º
֮ǰÔÚ.netÖÐÓÃÁËFpspread¿Ø¼þ×ö±¨±í£¬ÏÖÔÚÒªÇó½«.net´úÂëÒÆÖ²µ½flex£¨ÓÃÁËFluorine£©£¬ÆäËûµÄ¶¼OK£¬µ«ÊǹØÓÚ±¨±íÕⲿ·Ö²»ÖªµÀÔõô°ìÁË¡£¡£¡£flex×ö±¨±í¿´µ½ÁËÁ½ÖÖ·½·¨ ......