neu
This commit is contained in:
@@ -6,7 +6,7 @@ Imports System.Data.SqlClient
|
||||
Public Class cSqlDb
|
||||
Public Shared Function GetNewOpenConnection() As SqlConnection
|
||||
Dim cn As New SqlConnection()
|
||||
cn.ConnectionString = "Data Source=192.168.0.94\SQLEXPRESS;Initial Catalog=ADMIN;Integrated Security=false;User ID=sa;Password=BmWr501956;" 'BUCHHALTUNG
|
||||
cn.ConnectionString = "Data Source=SQLGUIDE01.verag.ost.dmn\SQLEXPRESS;Initial Catalog=ADMIN;Integrated Security=false;User ID=sa;Password=BmWr501956;" 'BUCHHALTUNG
|
||||
cn.Open()
|
||||
Return cn
|
||||
End Function
|
||||
@@ -19,7 +19,7 @@ Public Class cSqlDb
|
||||
End Function
|
||||
Public Shared Function GetNewOpenConnectionZOLARIS() As SqlConnection
|
||||
Dim cn As New SqlConnection()
|
||||
cn.ConnectionString = "Data Source=192.168.0.94\SQLEXPRESS;Initial Catalog=ezoll;Integrated Security=false;User ID=sa;Password=BmWr501956;" 'BUCHHALTUNG
|
||||
cn.ConnectionString = "Data Source=SQLGUIDE01.verag.ost.dmn\SQLEXPRESS;Initial Catalog=ezoll;Integrated Security=false;User ID=sa;Password=BmWr501956;" 'BUCHHALTUNG
|
||||
cn.Open()
|
||||
Return cn
|
||||
End Function
|
||||
@@ -911,7 +911,7 @@ Public Class cBrgDb
|
||||
" commit tran "
|
||||
|
||||
Dim cn As New SqlConnection()
|
||||
cn.ConnectionString = "Data Source=192.168.0.94\SQLEXPRESS;Initial Catalog=ADMIN;Integrated Security=false;User ID=sa;Password=BmWr501956;"
|
||||
cn.ConnectionString = "Data Source=SQLGUIDE01.verag.ost.dmn\SQLEXPRESS;Initial Catalog=ADMIN;Integrated Security=false;User ID=sa;Password=BmWr501956;"
|
||||
cn.Open()
|
||||
Using cn
|
||||
Using cmd As New SqlCommand(sql, cn)
|
||||
|
||||
Reference in New Issue
Block a user