0

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?

Edited by __avd: Added [code] tags. Encase your code in: [code] and [/code] tags.

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by sknake
0

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.

0

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

0

Did you get it working?

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.