nerdexam
GIAC

GSSP-NET · Question #484

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

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

Question

Peter works as a Software Developer for PaulTech Inc. He develops an application for office management, using Visual C# .NET. He creates an OleDbConnection object, named Pcon. He wants to create an OleDbCommand object to retrieve employee details. Which of the following statements will Peter use to set the CommandText and Connection properties to accomplish the required task? Each correct answer represents a part of the solution. Choose three.

Options

  • AOleDbCommand PCommand = new OleDbCommand("sp_GetDetails", PCon);
  • BPCommand.CommandType = "SELECT * FROM Employees";
  • CPCommand.Connection = Pcon;
  • DPCommand.CommandText = "SELECT * FROM Employees";
  • EPCommand.SetConnection (PCon);
  • FOleDbCommand PCommand = new OleDbCommand();

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