C# Interview Questions and Answers
Ques 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.
Is it helpful?
Add Comment
View Comments
Ques 37. Why would you use untrusted verificaion?
Web Services might use it, as well as non-Windows applications.
Is it helpful?
Add Comment
View Comments
Ques 38. What does the parameter Initial Catalog define inside Connection String?
The database name to connect to.
Is it helpful?
Add Comment
View Comments
Ques 39. What’s the data provider name to connect to Access database?
Microsoft.Access.
Is it helpful?
Add Comment
View Comments
Ques 40. What does Dispose method do with the connection object?
Deletes it from the memory.
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- What’s the advantage of using System.Text.StringBuilder over System.String?
- Can you store multiple data types in System.Array?
- What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?
- How can you sort the elements of the array in descending order?
- What’s the .NET datatype that allows the retrieval of data by a unique key?