what is Execute NOn Query?

Answers were Sorted based on User's Feedback



what is Execute NOn Query?..

Answer / madhulatha

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 ?    10 Yes 5 No

what is Execute NOn Query?..

Answer / 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

what is Execute NOn Query?..

Answer / gazillionaire

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

Is This Answer Correct ?    10 Yes 6 No

what is Execute NOn Query?..

Answer / seenivasagan

Execute non Query DataBase Used in Insert,UpDate,Delete...

Is This Answer Correct ?    7 Yes 3 No

what is Execute NOn Query?..

Answer / mona

Execute non Query is used to execute more than one
command
at the time (it is used for insert ,delete ,update)
it returns the no. of queries executed successfully
exeuate non Query DataBase Used in Insert,UpDate,Delete...

Is This Answer Correct ?    3 Yes 0 No

what is Execute NOn Query?..

Answer / balaji rajasekaran

ExecuteNonQuery method is used for
==================================
Sending SQL Insert statements to a database.
Sending SQL Update statements to a database.
Sending SQL Delete statements to a database.

Is This Answer Correct ?    3 Yes 0 No

what is Execute NOn Query?..

Answer / pradeep mishra

ExcuteNoNquery is a method that is work to check(insert,delete update) query executed or not

Is This Answer Correct ?    3 Yes 0 No

what is Execute NOn Query?..

Answer / sandip karsariya

ExecuteNonQuery() is one of the most frequently used method
in SqlCommand Object and is used for executing statements
that do not return result set. ExecuteNonQuery() performs
Data Definition tasks as well as Data Manipulation tasks
also. The Data Definition tasks like creating Stored
Procedures and Views perform by ExecuteNonQuery() . Also
Data Manipulation tasks like Insert , Update and Delete
perform by ExecuteNonQuery().

Is This Answer Correct ?    3 Yes 1 No

what is Execute NOn Query?..

Answer / akira

execute Non Query (), Is for insert,delete and update

Is This Answer Correct ?    2 Yes 0 No

what is Execute NOn Query?..

Answer / basheer

Command.ExecuteNonqurey is used to Execute querys which
actually does not query Database table to give back
something (Like Select) but commnads DB table to do
something.(Insert,Update or Delete)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

0 Answers  


What is connected architecture in ado.net?

0 Answers  


What is the difference between the clone() and copy() methods of the dataset class?

0 Answers  


What is ado.net connection?

0 Answers  


What are the steps in connecting to database?

3 Answers   IBM, Microsoft,


How to generate a single aggregate?

0 Answers  


Explain ODP.net

0 Answers  


What is ado.net architecture?

0 Answers  


What is fill method in ado.net?

0 Answers  


What is a datagrid?

4 Answers  


What is the role of the dataset object in ado.net?

0 Answers  


What are different layers of ADO.Net?

0 Answers  


Categories