C# Sqlite conection and add data

Published: 26 November 2017
on channel: Lovers programming
1,504
13

C# Sqlite conection and add data
https://drive.google.com/open?id=1Dqy...
https://drive.google.com/open?id=1Jpl...
----------Lovers programming----------
  / c.prog  
--------------------------------------------------------
using System.Data.SQLite; //data sqlite

// SQLite objects:
SQLiteConnection sql_cnx;
SQLiteCommand sql_cmd;

// create a new database connection:
sql_cnx = new SQLiteConnection("Data Source= ****** ;Version=3;New=True;Compress=True;");

// open the connection:
sql_cnx.Open();

// create a new SQL command:
sql_cmd = sql_cnx.CreateCommand();

// insert in tabel
sql_cmd.CommandText = "INSERT INTO ***** ( ****** ) VALUES ( ***** );";

// execute Command
sql_cmd.ExecuteNonQuery();

// close connection:
sql_cnx.Close();


On this page of the site you can watch the video online C# Sqlite conection and add data with a duration of hours minute second in good quality, which was uploaded by the user Lovers programming 26 November 2017, share the link with friends and acquaintances, this video has already been watched 1,504 times on youtube and it was liked by 13 viewers. Enjoy your viewing!