on 09-03-2008 3:59 PM
Hi,
This is .Net application Visual Studio 2003 and have crystal reports. I need to connect the database with another password. I am using as back end 10 g.
For e.g -
Acutal
Server - a
user id - b
password - c
but on fly I have to give
Server - a
user id - b
password - d or no password
Can I do this through proxy passord or otherways ? Please advice me
For Each CrTable In CrTables
crtableLogoninfo = CrTable.LogOnInfo
crtableLogoninfo.ConnectionInfo = crConnectionInfo
crtableLogoninfo.TableName = CrTable.Name
CrTable.ApplyLogOnInfo(crtableLogoninfo)
Next
Please let me if you need further clarification
The only way to go without providing a password in code is to use trusted connections. This White Paper describes your options in some detail:
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.