473,396 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SQLite


I want to make an application with C# and SQLite as back-end DB.

Could somebody recommend me a C# class to make the connection ? Sample
code ?
Thanks in advance

J


Nov 16 '05 #1
4 4933
Hi Javier,

I'm not familiar with SQLite, but I imagine you would be able to connect to it using an OleDbConnection.
Also, check out http://www.connectionstrings.com/ for various ways to connect.

--
Happy coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2
Morten Wennevik wrote:
Hi Javier,

I'm not familiar with SQLite, but I imagine you would be able to connect
to it using an OleDbConnection.
Also, check out http://www.connectionstrings.com/ for various ways to
connect.

Thanks for your reply.

SQLite doesn't use string connections. Just only need to open DB as a file.

My problem is that I couldn't found a class or wrapper for c# to get
data from SQLite DB...
Regards
J
Nov 16 '05 #3
Hello:
I want to make an application with C# and SQLite as back-end DB.

Could somebody recommend me a C# class to make the connection ? Sample
code ?


Review this:

http://sourceforge.net/projects/adodotnetsqlite/

--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain
Nov 16 '05 #4
Javier,

Someone has created an ADO.NET provider for SQLite. You can find it at
sourceforge.net (watch for line wrap):

http://sourceforge.net/project/showf...group_id=94056

It appears to follow the .NET pattern for data access, so I think this
would probably suit your needs.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Javier" <jj@jjj.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Morten Wennevik wrote:
Hi Javier,

I'm not familiar with SQLite, but I imagine you would be able to connect
to it using an OleDbConnection.
Also, check out http://www.connectionstrings.com/ for various ways to
connect.

Thanks for your reply.

SQLite doesn't use string connections. Just only need to open DB as a
file.

My problem is that I couldn't found a class or wrapper for c# to get data
from SQLite DB...
Regards
J

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Fowler | last post by:
I'm new to getting in touch with other PHP users/PHP team, so please excuse me if this post is at all inappropriate or in the wrong place. In the current release of PHP (5.1.4) and in the CVS for...
12
by: John Salerno | last post by:
I've been looking around and reading, and I have a few more questions about SQLite in particular, as it relates to Python. 1. What is the current module to use for sqlite? sqlite3? or is that not...
4
by: Jim Carlock | last post by:
I added the following lines to PHP.INI. extension=php_pdo.dll extension=php_pdo_sqlite.dll extension=php_sqlite.dll specifically in that order. I noticed the extensions getting loaded are...
14
by: 7stud | last post by:
Does sqlite come in a mac version? Thanks.
10
by: Luigi | last post by:
Hello all! I'm a newbie in PHP. I have written a short script that tries to update a SQLite database with the user data. It is pretty simple, something like this: <?php $sqlite =...
9
by: Gilles Ganault | last post by:
Hello I was looking for a lighter web server than Apache, and installed Lighttpd on CentOS through yum. It works fine, but I now need to use SQLite from a PHP script. I seem to understand that...
8
by: Gilles Ganault | last post by:
Hello I need to compile PHP5 with SQLite statically and without PDO. I don't need DB-independence, so it's fine using sqlite_*() functions instead of PDO. 1. I've downloaded, compiled, and...
3
by: Daniel Fetchinson | last post by:
Does Python 2.5.2's embedded SQLite support full text searching? Sqlite itself is not distributed with python. Only a python db api compliant wrapper is part of the python stdlib and as such it...
0
by: Joe Goldthwaite | last post by:
Thanks Guilherme. That helped. I guess I was thinking that pysqlite would automatically come with some version of sqlite. The fact that it doesn't is what was causing me to get the strange...
20
by: timotoole | last post by:
Hi all, On a (sun) webserver that I use, there is python 2.5.1 installed. I'd like to use sqlite3 with this, however sqlite3 is not installed on the webserver. If I were able to compile sqlite...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.