已经解决 怎么读取sqlite里面表的数据到listview
本帖最后由 xin266 于 2012-4-24 10:26 编辑怎么读取sqlite里面表的数据到listview ?
请高手给个例子谢谢 _SQLite_Startup()
_SQLite_Open($SQLite_Data_Path)
_SQLite_Query(-1, "SELECT * FROM TestTable ORDER BY Chanpin DESC;", $hQuery)
While _SQLite_FetchData ($hQuery, $aRow) = $SQLITE_OK
MsgBox(1,$aRow,"")
GUICtrlCreateListViewItem($aRow & "|" & "2" & "|" & "3" & "|" & "4", $ListView1)
WEnd
_SQLite_Close()
页:
[1]