我在第四行得到上述错误。我如何(假设我必须)将值转换为双方都具有相同的数据类型?
dsOrderList = objResult.ds
For Each drow As DataRow In dsOrderList.Tables(0).Rows
Dim objOrder As New Orders
objOrder.OrderID = drow("OrderID")
objOrder.CustomerID = drow("CustomerID")
objOrder.EmployeeID = drow("EmployeeID")