on 06-15-2005 10:25 AM
Hi,
How do I connect to SAP through the SAP .NET Connector 1.0 without using a web form?
I would like to open a connection without using a form when I supply the username and password.
Thanks
Rolf
Hi,
Somewhere in your program:
Destination dest = new Destination();
dest.AppServerHost= "sapservr1";
dest.SystemNumber = 0;
dest.User= "hello"
dest.Password = "world";
dest.Client= 0;
SAPConnection conn = new SAPConnection(dest.ConnectionString);
conn.Open();
Hope it helps,
Guangwei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.