What method of the Command object would you use if you need to retrieve a single value (for example an aggregate value. from a database

Question: What method of the Command object would you use if you need to retrieve a single value (for example an aggregate value. from a database

1.ExecuteScalar(.

2.ExecuteReader(.

3.ExecuteSingle(.

4.ExecuteNonQuery(.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!