ADO.NET Question:

Download Job Interview Questions and Answers PDF

Explain ExecuteNonQuery?

ADO.NET Interview Question
ADO.NET Interview Question

Answer:

// Summary:

// Executes a Transact-SQL statement against the connection and returns the number of rows affected.

// Returns:

// The number of rows affected.

Download ADO.NET Interview Questions And Answers PDF

Previous QuestionNext Question
how can i retrieve two tables of data at a time by using data reader?
Data reader read and forward only, how is it possible to get 2 tables of data at a time?
What is the ExecuteScalar method?