Hey I have a problem!

when I try using SQL lite in viusal studio.

using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Data;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

Whey Will visual Studio not accept using System.Data.SqlLite?
The compiler says: "Error - The type or namespace name 'SqlLite' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)"

Have you guys any idears of whey the compiler won't allow this?

Recommended Answers

All 3 Replies

You need to add a reference to the SqlLite assembly in your project. Have you installed the SQLLite software? If so right click on the "References" folder in your solutions explorer and select "Add Reference". Browse to the assembly DLL and add the reference.

You need to add a reference to the SqlLite assembly in your project. Have you installed the SQLLite software? If so right click on the "References" folder in your solutions explorer and select "Add Reference". Browse to the assembly DLL and add the reference.

Hey THX XD

Did you get it working?

Please mark this thread as solved if you have found an answer to your question and good luck!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.