C# Questions et reponses d'entretien
Question 36. Which one is trusted and which one is untrusted?
Windows Authentication is trusted because the username and password are checked with the Active Directory, the SQL Server authentication is untrusted, since SQL Server is the only verifier participating in the transaction.
Question 37. Why would you use untrusted verificaion?
Web Services might use it, as well as non-Windows applications.
Question 38. What does the parameter Initial Catalog define inside Connection String?
The database name to connect to.
Question 39. Whats the data provider name to connect to Access database?
Microsoft.Access.
Question 40. What does Dispose method do with the connection object?
Deletes it from the memory.
Les plus utiles selon les utilisateurs :
- Whats the advantage of using System.Text.StringBuilder over System.String?
- Can you store multiple data types in System.Array?
- Whats the difference between the System.Array.CopyTo() and System.Array.Clone()?
- How can you sort the elements of the array in descending order?
- Whats the .NET datatype that allows the retrieval of data by a unique key?