MCQs>Database Management>ADO.NET>You have created an SqlCommand object as shown below by passing the sql query and the connection object. Dim cmd as New SqlCommand(''Select CategoryID, CategoryName FROM Categories'', con) Which of the following methods would be used by you to get data?
ADO.NET MCQs
You have created an SqlCommand object as shown below by passing the sql query and the connection object.Dim cmd as New SqlCommand("Select CategoryID, CategoryName FROM Categories", con)Which of the following methods would be used by you to get data?
Answer
Correct Answer:
Explanation:
Note: This Question is unanswered, help us to find answer for this one