ADO.NET Question:

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.


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?