Correct Answer: StoredProcedure,Text, TableDirect
Explanation:
Note: This Question is unanswered, help us to find answer for this one
ADO.NET Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More ADO.NET MCQ Questions
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?
Read the following statements: DataRow oDetailsRow = oDS.Table[''OrderDetails''].NewRow(); oDetailsRow[''ProductId''] = 1; oDetailsRow[''ProductName''] = ''Product 1''; What is wrong with this code?
Which one implements IDataReader interface?
You have defined a command named 'cmdA' and an open connection named 'con'. You created a new transaction: Dim trans As SqlClient.SqlTransaction = Nothing How will you assign the command to the transaction and begin the transaction?
How can you make a data reader close connection automatically?
A stored procedure called 'FirstQTR' is used for generating the sales report of the first quarter. Apart from other data, it returns the total sale seperately to make a hyperlink. For this purpose you pass a parameter, TotalSale. Which statement suits for the parameter TotalSale?
You must create a stored procedure to retrieve the following details for the given customer: CustomerName, Address, PhoneNumber Which one is an ideal choice to get the result?
Which one is not a valid member of DataAdapter?
We are iterating through the results received in a data reader named 'DReaderOrder,' which is created by using connection 'SqlCon.' In between, we need to retrieve some more values from the database, so we executed another command using 'SqlCon,' to get the results in another data reader 'DReaderProduct.' What will happen if we use ADO.NET 1.1?
When users edit data in your program, the code runs to completion without error, but no data changes appear in the database. You test the update query and the connection string that you are passing to the procedure, and they both work correctly. What changes do you need to make to your code to ensure that data changes appear in the database?