Q. In a SQL Statement while working with SqlCommand it returns a single value, at that time which method of Command Object will be used? (Solved)
1. ExecuteNonQuery
2. ExecuteReader
3. ExecuteScalar
4. NonQuery
- c. ExecuteScalar
1. ExecuteNonQuery
2. ExecuteReader
3. ExecuteScalar
4. NonQuery