12/11/2017, 06:13
aşağıdaki modül ile mssql veritabanına bağlanıyorum
--------------------------------------------------------------------------------------------
Public Function SqlServerConnStringGetir() As String
Dim BaglantiTuru As String
Dim ServerName As String: ServerName = "DESKTOP-aaa0"
Dim DatabaseName As String: DatabaseName = "MARKET"
Dim UserName As String: UserName = "sa"
Dim Password As String: Password = "4857"
SqlServerConnStringGetir = "DRIVER={SQL Server};SERVER=" & ServerName & ";DATABASE=" & DatabaseName & ";UID=" & UserName & ";PWD=" & Password
End Function
-------------------------------------------------------------------------------------------
bağlandığım MARKET veritabanındaki STOK tablosunu sorgu olarak accesse nasıl alabilirim
--------------------------------------------------------------------------------------------
Public Function SqlServerConnStringGetir() As String
Dim BaglantiTuru As String
Dim ServerName As String: ServerName = "DESKTOP-aaa0"
Dim DatabaseName As String: DatabaseName = "MARKET"
Dim UserName As String: UserName = "sa"
Dim Password As String: Password = "4857"
SqlServerConnStringGetir = "DRIVER={SQL Server};SERVER=" & ServerName & ";DATABASE=" & DatabaseName & ";UID=" & UserName & ";PWD=" & Password
End Function
-------------------------------------------------------------------------------------------
bağlandığım MARKET veritabanındaki STOK tablosunu sorgu olarak accesse nasıl alabilirim