Home > Back-end >  Question on the database
Question on the database

Time:10-14

Use controls ADOconnection adoquery and datasource connection database but when running a Login window database Login
To input the user name () and password () how to solve

CodePudding user response:

Set the LoginPrompt ADOConnection parameter to false

CodePudding user response:

Set LoginPrompt ADOConnection parameter to false
In the connection string embedded user name and password

CodePudding user response:

Set the LoginPrompt ADOConnection parameter to false

CodePudding user response:

LoginPrompt ADOConnection parameter to false

CodePudding user response:

Well, that's right, as the upstairs said that the ADOConnection LoginPrompt attribute set to false

CodePudding user response:

The ADOConnection LoginPrompt attribute set to false

CodePudding user response:

Set properties of ADOConnection LoginPrompt false is solved, the premise is you not encrypted database

CodePudding user response:

7th floor, that if the database encryption is the case, the database connection string is just not the same,

CodePudding user response:

ADOConnection1 - & gt; The ConnectionString="Provider=SQLOLEDB. 1; Password="+ Password +"; Persist Security Info=True; User ID="+ username +" sa; Initial Catalog=foxdbfs; Data Source="+ database machine name or IP
ADOConnection1 - & gt; Connected=true;

CodePudding user response:

Set the ADOConnection controls LoginPrompt property parameter to false, can,
  • Related