MCQs > Database Management > ADO.NET > You have defined an SQL Command object named ''sqlComm'' to run a stored procedure. The OUT parameter is as follows: Dim pm2 As New SqlParameter(''@Amount,'' SqlDbType.Money) How will you add the OUT parameter named pm2 to the command object?

ADO.NET MCQs

You have defined an SQL Command object named "sqlComm" to run a stored procedure. The OUT parameter is as follows:
Dim pm2 As New SqlParameter("@Amount," SqlDbType.Money)
How will you add the OUT parameter named pm2 to the command object?

Answer

Correct Answer: sqlComm.Parameters.Add(pm2).Direction = ParameterDirection.Output

Explanation:

Note: This Question is unanswered, help us to find answer for this one

ADO.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More ADO.NET MCQ Questions

search

ADO.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it