nerdexam
GIAC

GSSP-.NET · Question #407

GSSP-.NET Question #407: Real Exam Question with Answer & Explanation

Sign in or unlock GSSP-.NET to reveal the answer and full explanation for question #407. The question stem and answer options stay visible for context.

Question

  • (Topic 4) You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows application using the .NET Framework. You create a database to maintain the record of the students. You create a table named Student. You want to retrieve names and roll number of those students whose age is less than ten years. An instance of the SqlCommand class named StudentCommand is already created. Which of the following code segments should you use to execute the query?

Options

  • AStudentCommand.CommandType = CommandType.StoredProcedure;
  • BStudentCommand.CommandType = CommandType.StoredProcedure;
  • CStudentCommand.CommandType = CommandType.Text;
  • DStudentCommand.CommandText = CommandText.Text;

Unlock GSSP-.NET to see the answer

You've previewed enough free GSSP-.NET questions. Unlock GSSP-.NET for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GSSP-.NET Practice