what is Execute NOn Query?

Answer Posted / mahesh

ExecuteNonQuery() ia command object method,is for
insert,update and delete statements.i.e for the statements
which does'nt returns any value after the execution.return
type of ExecuteNonQuery is int,we can return no of affected
rows.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between ado.net and entity framework?

755


Define the data provider classes that is supported by ado.net?

722


How to check if the Dataset has records ?

725


What is the difference between dataset and datatable?

704


What are the data providers in ADO.NET framework?

771


What is the difference between an ADO.NET Dataset and an ADO Recordset?

783


how can implement dropdownlist in particular of dataset when try to update?

2519


differences between ADO and ADO.NET

787


What is meant by executenonquery?

706


Explain ODP.net

755


What are the advantages of oledb compared with other classes?

2551


Which database is the ado.net?

714


What does executereader return?

714


Explain the various objects in dataset.

712


Explain the dataadapter class in ado.net?

865