MCQs>Database Management>ADO.NET>Read the following statements: DataRow oDetailsRow = oDS.Table[''OrderDetails''].NewRow(); oDetailsRow[''ProductId''] = 1; oDetailsRow[''ProductName''] = ''Product 1''; What is wrong with this code?
ADO.NET MCQs
Read the following statements: DataRow oDetailsRow = oDS.Table["OrderDetails"].NewRow(); oDetailsRow["ProductId"] = 1; oDetailsRow["ProductName"] = "Product 1"; What is wrong with this code?
Answer
Correct Answer: Table is not a collection of DataSet
Explanation:
Note: This Question is unanswered, help us to find answer for this one