on 2020 Sep 20 10:11 PM
I want to connect with company database using connection string. (standard .net connectivity with database)
Request clarification before answering.
Hi,
Yes, install SAP HANA Client for the correct platform and reference the Extensions.
Use it as you would with System.Data.SQLClient
Dim connStr As New Sap.Data.Hana.HanaConnectionStringBuilder()
connStr.Server = "serverName:30015"
connStr.UserName = "_userName"
connStr.Password = "_pass"
connStr.CurrentSchema = "SBODemo"
Dim _conn = New Sap.Data.Hana.HanaConnection(connStr.ConnectionString)
_conn.Open()
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
12 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.