如题 :
我想定义一个 wxchar[16]并初值为 “0000111100001111” 该如何操作?
再处理完成会,我想将此wxchar[]转化为wxString ,又该如何操作?
谢谢
Search found 5 matches
- Sun Oct 01, 2017 8:39 am
- Forum: wxWidgets Development (Chinese)
- Topic: 如何初始化wxchar[]和与wxString转化?
- Replies: 1
- Views: 14930
- Tue Sep 05, 2017 12:57 pm
- Forum: Database Related
- Topic: Run error when the database exsited
- Replies: 6
- Views: 17338
Re: Run error when the database exsited
thanks your reply!
i want to use the database with no encryption method ,but i don't know how to do ? can you tell me? thanks again!
i want to use the database with no encryption method ,but i don't know how to do ? can you tell me? thanks again!
- Sun Sep 03, 2017 1:25 pm
- Forum: Database Related
- Topic: Run error when the database exsited
- Replies: 6
- Views: 17338
Re: Run error when the database exsited
HOHO~ I see ,the error has resolved ,the code above is correct . THANK but, when I add the code : db.ExecuteUpdate("CREATE TABLE emp(useraccount CHAR(11) PRIMARY KEY UNIQUE NOT NULL, password CHAR(8) NOT NULL, firsttime DATE, secondtime DATE, thirdtime DATE, times INTEGER);"); now new prob...
- Sat Sep 02, 2017 11:50 am
- Forum: Database Related
- Topic: Run error when the database exsited
- Replies: 6
- Views: 17338
Run error when the database exsited
const wxString dbFile = wxGetCwd() + "/test.db"; m_textctrl->AppendText(dbFile); wxSQLite3Database db; if (wxSQLite3Database::HasEncryptionSupport()) { db.Open(dbFile, wxString(wxT("password"))); m_textctrl->AppendText("open db with password\n")...
- Fri Sep 01, 2017 12:56 pm
- Forum: wxWidgets Development (Chinese)
- Topic: 已存在数据库时打开 出错
- Replies: 0
- Views: 20011
已存在数据库时打开 出错
刚刚学习sqlite3 遇到这样的问题: const wxString dbFile = wxGetCwd() + "/test.db"; m_textctrl->AppendText(dbFile); wxSQLite3Database db; if (wxSQLite3Database::HasEncryptionSupport()) { db.Open(dbFile, wxString(wxT("password"))); m_textctrl->AppendText("open db with password\n"); } ...