I have the following:
- TransactionData as Datarow
- TransactionItem as Datarow, from TransactionData
I want to get the index of the TransactionItem using TransactionData.CopyToDatatable.Rows.IndexOf(TransactionItem) but it always returns negative one (-1). I change the TransactionData as Datatable and it returns correct results.