MCQs > IT & Programming > ASP.NET > You have defined a command named 'comA‘ and an open connection named ‘con'. You created a new transaction: Dim trans As SglClienthlTransaction — Nothing How will you assign the command to the transaction and begin the transaction?

ASP.NET MCQs

You have defined a command named "comA" and an open connection named "con". You created a new transaction:

Dim trans As SglClienthlTransaction — Nothing

How will you assign the command to the transaction and begin the transaction?

Answer

Correct Answer:

 trans = con.BeginTransaction()

cmdATransaction = trans

cmdAExecuteNonQuery()


Explanation:

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

ASP.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More ASP.NET MCQ Questions

search

ASP.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it