MCQs > IT & Programming > VB.NET > You have defined a 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?

VB.NET MCQs

You have defined a 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

VB.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

VB.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it