You need to retrieve the committed number of updates by inserting code at line 07. Identify the code segment you should use.
A.var result = command.ExecuteNonQuery();
B.var result = command.ExecuteReader(CommandBehavior.SingleResult);
C.var result = command.ExecuteScalar();
D.var result = command.ExecuteReader(CommandBehavior.SingleRow);
Answer:A
You need to retrieve the committed number of updates by inserting code at line 07. Identify the code segment you should use.
A.var result = command.ExecuteNonQuery(); B.var result = command.ExecuteReader(CommandBehavior.SingleResult); C.var result = command.ExecuteScalar(); D.var result = command.ExecuteReader(CommandBehavior.SingleRow);