ADO.NET Interview questions

Total available count: 25
Subject - Microsoft Technologies
Subsubject - ADO.NET

Explain about SqlCommand.CommandTimeout property?

CommandTimeout property is used to get or set the time duration to execute the command with out Timeout error.

SqlCommand cmd = new SqlCommand("SPName",Connection);
cmd.CommandTimeout = 5; //Time in seconds
//Default timeout time is 30 seconds.


Next 5 interview question(s)

Explain about asynchronous execution of commands?
Can you inherit from SqlConnection class?
Why will an ASP.NET user account be created in the database for an ASP.NET web application?
Explain the steps to access the database in ADO.NET?
Explain about Row States and Row Versions?