ms
This commit is contained in:
parent
17c8e08fda
commit
64f207fc2a
@ -8,7 +8,7 @@ Public Class ClassFormFunctions
|
|||||||
If DTConnection.Rows.Count = 1 Then
|
If DTConnection.Rows.Count = 1 Then
|
||||||
Dim CSType = DTConnection.Rows(0).Item("SQL_PROVIDER").ToString.ToUpper
|
Dim CSType = DTConnection.Rows(0).Item("SQL_PROVIDER").ToString.ToUpper
|
||||||
Select Case CSType
|
Select Case CSType
|
||||||
Case "MS-SQL".ToUpper
|
Case "MS-SQL".ToUpper Or "MS-SQLServer".ToUpper
|
||||||
If DTConnection.Rows(0).Item("USERNAME").ToString.ToLower = "winauth" Then
|
If DTConnection.Rows(0).Item("USERNAME").ToString.ToLower = "winauth" Then
|
||||||
connectionString = "Data Source=" & DTConnection.Rows(0).Item("SERVER") & ";Initial Catalog= " & DTConnection.Rows(0).Item("DATENBANK") & ";Trusted_Connection=True;"
|
connectionString = "Data Source=" & DTConnection.Rows(0).Item("SERVER") & ";Initial Catalog= " & DTConnection.Rows(0).Item("DATENBANK") & ";Trusted_Connection=True;"
|
||||||
Else
|
Else
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,7 @@ Public Class frmConnections
|
|||||||
chkOR_ohne_TNS.Visible = False
|
chkOR_ohne_TNS.Visible = False
|
||||||
Select Case Me.SQL_PROVIDERComboBox.SelectedItem
|
Select Case Me.SQL_PROVIDERComboBox.SelectedItem
|
||||||
|
|
||||||
Case "MS-SQL"
|
Case ("MS-SQL".ToUpper Or "MS-SQLServer".ToUpper)
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
Me.lblDataSource.Text = "Datenbank-Server (IP-Adresse oder Name)*:"
|
Me.lblDataSource.Text = "Datenbank-Server (IP-Adresse oder Name)*:"
|
||||||
Me.lblInitialCatalog.Text = "Datenbank-Name:"
|
Me.lblInitialCatalog.Text = "Datenbank-Name:"
|
||||||
@ -128,7 +128,7 @@ Public Class frmConnections
|
|||||||
Cursor = Cursors.WaitCursor
|
Cursor = Cursors.WaitCursor
|
||||||
|
|
||||||
Select Case Me.SQL_PROVIDERComboBox.SelectedItem
|
Select Case Me.SQL_PROVIDERComboBox.SelectedItem
|
||||||
Case "MS-SQL"
|
Case ("MS-SQL".ToUpper Or "MS-SQLServer".ToUpper)
|
||||||
Dim con As String
|
Dim con As String
|
||||||
If CheckBoxwin_aut.Checked Then
|
If CheckBoxwin_aut.Checked Then
|
||||||
con = "Data Source=" & Me.SERVERTextBox.Text & ";Initial Catalog=" & Me.cmbInitialCatalog.Text & ";Trusted_Connection=True;"
|
con = "Data Source=" & Me.SERVERTextBox.Text & ";Initial Catalog=" & Me.cmbInitialCatalog.Text & ";Trusted_Connection=True;"
|
||||||
@ -209,7 +209,7 @@ Public Class frmConnections
|
|||||||
If Me.SQL_PROVIDERComboBox.SelectedIndex <> -1 Then
|
If Me.SQL_PROVIDERComboBox.SelectedIndex <> -1 Then
|
||||||
|
|
||||||
Select Case Me.SQL_PROVIDERComboBox.SelectedItem
|
Select Case Me.SQL_PROVIDERComboBox.SelectedItem
|
||||||
Case "MS-SQL"
|
Case ("MS-SQL".ToUpper Or "MS-SQLServer".ToUpper)
|
||||||
Dim con As String
|
Dim con As String
|
||||||
If CheckBoxwin_aut.Checked Then
|
If CheckBoxwin_aut.Checked Then
|
||||||
con = "Data Source=" & Me.SERVERTextBox.Text & ";Initial Catalog=" & Me.cmbInitialCatalog.Text & ";Trusted_Connection=True;"
|
con = "Data Source=" & Me.SERVERTextBox.Text & ";Initial Catalog=" & Me.cmbInitialCatalog.Text & ";Trusted_Connection=True;"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user