Click here to Skip to main content
15,894,907 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi , iam creating a table in sqlite database ,
in .cs i given connections , after that i can't open the sqlite database table ,
already iam sql database, next i want to know how to add sqlite database in server explorer ,
Posted
Comments
Sinisa Hajnal 18-Sep-14 6:09am    
You'll have to make a better description. Describe your problem, show what have you done until now, show us the code that is not working. Also, try to write with proper capitalization, it is easier to read.

Thank you.
harshavardhan12345678 18-Sep-14 8:46am    
how to create a new sqlite database in server explorer
harshavardhan12345678 18-Sep-14 6:15am    
onclick event event


private void insertconnect_Click(object sender, EventArgs e)
{
// [snip] - As C# is purely object-oriented the following lines must be put into a class:

// We use these three SQLite objects:
SQLiteConnection sqlite_conn;
SQLiteCommand sqlite_cmd;
SQLiteDataReader sqlite_datareader;



sqlite_conn = new SQLiteConnection(); // Create an instance of the object
sqlite_conn.ConnectionString = @"Data Source=C:\Users\Srikanth\Downloads\eminosoft.db;";// Set the ConnectionString
sqlite_conn.Open(); // Open the connection. Now you can fire SQL-Queries

// create a new SQL command:
sqlite_cmd = sqlite_conn.CreateCommand();

}

okay issue solved
Is the issue solved? If yes, post the answer.
harshavardhan12345678 18-Sep-14 7:55am    
no , issue not solved sir

1 solution

You can add the add-in to Visual Studio - SQL Server Compact/SQLite Toolbox[^].

Otherwise check - SQLite for Visual Studio 2010[^]
 
Share this answer
 

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