使用Visual C ++在Visual Std 2008中使用SQLite的MFC智能设备应用程序 [英] MFC Smart Device App with Visual C++ in Visual Std 2008 with SQLite

查看:129
本文介绍了使用Visual C ++在Visual Std 2008中使用SQLite的MFC智能设备应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Std 2008中使用Visual C ++创建了 MFC智能设备应用程序。我有对话框表单,我在VS2008中创建了SQLite数据库。我导入了sqlite.dll sqlite.def等文件。现在,我想从我的数据库中选择数据,例如在我的文本列表中显示。但是我不知道怎么能这样做。



我的sqlconnection句子是什么?我该如何创建test.db?我会在哪个类中编写我的sqlconnection语句,或者我的select,insert,delete,update sql code?有人可以一步一步地解释这个吗?



这是我的工作。我从一个星期开始研究这个话题,但我仍然无法解决这个问题。请帮助我!

解决方案

请不要在多个论坛中发布相同的问题;你已经在 http:// www上发布了这个.codeproject.com / Messages / 4485098 / MFC-Smart-Device-App-with-Visual-Cplusplus-in-Visu.aspx [ ^ ]。


< blockquote>您好Stackoverflow,我也遇到了同样的问题,请尽快为我们提供解决方案,你是我的最后希望。



谢谢

I created a MFC Smart Device App with Visual C++ in Visual Std 2008. I have dialog forms, I created SQLite database in VS2008. And I imported sqlite.dll sqlite.def etc. files. Now, I want to select data from my database, show in my textlist for example. But I don't know How can I do this.

What is my sqlconnection sentence? How can I create test.db? Which class will I write my sqlconnection sentence, or my select, insert, delete, update sql code? Can anybody explain this step by step?

It is my Job. I research this topic since a week, but still I can not solve this problem. Please help me!

解决方案

Please do not post the same question in multiple forums; you already posted this at http://www.codeproject.com/Messages/4485098/MFC-Smart-Device-App-with-Visual-Cplusplus-in-Visu.aspx[^].


Hi Stackoverflow , i am also stucked with this same kind of problem , please provide us solution ASAP , you are the last hope for me .

Thanks


这篇关于使用Visual C ++在Visual Std 2008中使用SQLite的MFC智能设备应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆