ADO.NET Question: Download ADO.NET PDF

If we are not returning any records from the database, which method is to be used?

Tweet Share WhatsApp

Answer:

There is a method called Execute Non Query. This method executes the Update, Delete etc. This does not return any rows but will give the number of rows affected.

Download ADO.NET PDF Read All 42 ADO.NET Questions
Previous QuestionNext Question
Can we do database operations without using any of the ADO.net objects?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?