on 12-03-2011 11:55 AM
Hi,
Is there any way to get the sql sonnection string programatically?
Hi,
There is no way to get the SQL connection string that the SBO client is using programmatically. If you are using Windows Authentication for connecting to your SQL server then you can use properties of the DI API company object to establish most of the connection settings (eg database name, SQL server name, SQL version etc) to make a connection. If you are using SQL Authentication then you will need to store user and password details separately.
Kind Regards,
Owen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for ur reply,
I adding a crystal report in my add-on, i am binding the records to the crystal report using dataset using sql connection. Here i want to provide the sql password to connect, but the db password which i amgetting is in asterisk.
So my problem is how to get the password to connect sql to show the report?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
105 | |
8 | |
6 | |
6 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.