Click here to Skip to main content
15,889,848 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanted to use sqlite database in my mfc application Can somebody give one small example of insert, delete, select, update...

What I have tried:

I have no experience of this I'm new to vc++
Posted
Updated 20-Feb-17 23:17pm
Comments
Graeme_Grant 19-Feb-17 23:19pm    
What have you tried so far (code example), where have you looked online (eg: docs, StackOverflow, blogs, etc..) and where are you stuck?
Maciej Los 20-Feb-17 2:43am    
Do you want to use it in multi-user or single-user environment?
Premnath Mali 21-Feb-17 4:50am    
multi user
Maciej Los 21-Feb-17 5:14am    
So, i'd suggest to read this: Appropriate Uses For SQLite The most important information is:
Client/Server Applications

If there are many client programs sending SQL to the same database over a network, then use a client/server database engine instead of SQLite.

 
Share this answer
 
Comments
CPallini 20-Feb-17 5:26am    
5.
Premnath Mali 21-Feb-17 4:49am    
Thanks
As i mentioned in the comment to the question: do not use SQLite in multi-user environment!, becasue it's NOT recommended. See: Appropriate Uses For SQLite[^]

To be able to use SQLite database, you have to download and install .net provider[^] for SQLite database engine. Follow the link for further details.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900