Frequently Asked Interview Questions

When do you use ExecuteNonQuery method?

If the command or stored procedure performs INSERT, DELETE or UPDATE operations, then we use ExecuteNonQuery method. ExecuteNonQuery method returns an integer specifying the number of rows inserted, deleted or updated.

Most Visited Pages

Home | Site Index | Contact Us