public Database()
{
db_name = ConfigurationManager.AppSettings["DatbaseFilepath"].ToString();
db_name = System.IO.Path.Combine(System.Windows.Forms.Application.StartupPath, db_name);
this._connectionString = ConfigurationManager.AppSettings["connection"].ToString();
this._connectionString = string.Format(_connectionString, db_name);
this._connection.ConnectionString = this._connectionString;
if (!System.IO.File.Exists(db_name))
{
SQLiteConnection.CreateFile(db_name);
_connection.Open();
_connection.Close();
}
}