public void DeleteDb() { var path = string.Format("data source={0}\\{1}", Application.StartupPath, _dbpath); if (System.IO.File.Exists(path)) { System.IO.File.Delete(path); } _helper = null; }
public void CreateDbFile() { var path = string.Format("data source={0}\\{1}", Application.StartupPath, _dbpath); _helper = new SqLiteHelper(path); }