Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SQL_連線字串.vb 1.3KB

123456789101112131415161718
  1. Module SQL_連線字串
  2. Friend Sub SQL_連線字串_ERP()
  3. ConString = "Data Source=" & 登入人IP & ";Initial Catalog=我的資料庫;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
  4. End Sub
  5. Friend Sub SQL_連線字串_考勤()
  6. ConString1 = "Data Source=180.177.181.162,5264;Initial Catalog=GCM_AM_SYS;Persist Security Info=True;User ID=B70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
  7. End Sub
  8. Friend Sub SQL_連線字串_倉儲系統()
  9. ConString2 = "Data Source=180.177.181.162,5264;Initial Catalog=GCM-ERP-SYS;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
  10. End Sub
  11. Friend Sub SQL_連線字串_本機()
  12. Dim Str As String = Application.StartupPath
  13. AccessConString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Str & "/HabitData.mdb;Jet OLEDB:Database Password=Qaz!@#123;Persist Security Info=False;User ID=Admin"
  14. End Sub
  15. Friend Sub SQL_連線字串_圖片資料庫()
  16. ConString3 = "Data Source=" & 登入人IP & ";Initial Catalog=" & 圖片庫 & ";Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
  17. End Sub
  18. End Module