Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string con;
- string fileName = "MiniProfilerData.sdf";
- string password = "arcanecode";
- if (File.Exists(fileName))
- {
- File.Delete(fileName);
- }
- con = string.Format("DataSource="{0}"; Password='{1}'", fileName, password);
- SqlCeEngine en = new SqlCeEngine(con);
- en.CreateDatabase();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement