Asp.net Classroom image

Amit  Lakhera / Professional / C Language

 
To post your Question Join Classroom
 
Question No  (12 of 26)
First 8 I 9 I 10 I 11 I 12 I 13 I 14 I 15 I 16 Last
 
Question:-
What is the difference between ExecuteScalar and ExecuteNonQuery?
 
Answer:-

ExecuteScalar returns output value where as ExecuteNonQuery does not return any value but the number of rows affected by the query. ExecuteScalar used for fetching a single value and ExecuteNonQuery used to execute Insert and Update statements.

  
 
 
 
image
Amit  Lakhera

Skills    Asp.net

Qualifications :-
Location :-,,,
Description:-
Explore
 

  Students (2)

Ask 
image
Amit
Ask 
image
Anil
 
 

Recommended Classes

image shweta Pandey
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional
image shweta Pandey
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional
image shweta Pandey
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional