• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

What DataTable my row belongs to?

Experts, I have a form that does some math on values in a DataRow. I want to use this form for many situations. I would like to pass the DataRow to the form and then check the DataTables so see who the row belongs to. This will tell me how to proceed. I have tried...

If DataSet.DataTable.Rows.Contains(myRow) then

But this fails. Could someone show me how to do this?
0
Basicfarmer
Asked:
Basicfarmer
1 Solution
 
käµfm³d 👽Commented:
You should be able to inspect the row's Table property for this information.
0
 
BasicfarmerAuthor Commented:
Awesome Thanks...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now