Connect to a secure database and execute queries using Rapise

Wednesday, June 6, 2018



I would like to connect to a database which requires login credentials. I was trying different things but failed to succeed. Can you show me an example of how to use Database.DoAttach to perform such a connection or tell me if it is even possible? 





1 Replies
Thursday, June 7, 2018
re: StefanMandovski Wednesday, June 6, 2018

Hi Stefan,

User and password may be passed as a part of the connection string. It also depends on the database type. For example, for SQL Server it would be:

"........User ID=mylogin;Password=mypassword;"

You may find more information here:


I hope that helps.





Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Wednesday, June 6, 2018
  • Last Reply: Thursday, June 7, 2018
  • Replies: 1
  • Views: 11471