c# Programming Glossary: tmpconn
Check if Database Exists Before Creating http://stackoverflow.com/questions/2232227/check-if-database-exists-before-creating static void checkInventoryDatabaseExists ref SqlConnection tmpConn ref bool databaseExists string sqlCreateDBQuery try tmpConn.. ref bool databaseExists string sqlCreateDBQuery try tmpConn new SqlConnection server local SQLEXPRESS Trusted_Connection.. FROM master.dbo.sysdatabases where name 'INVENTORY ' using tmpConn tmpConn.Open tmpConn.ChangeDatabase master using SqlCommand..
|