Solved

What DataTable my row belongs to?

Posted on 2014-11-24
2
139 Views
Last Modified: 2014-11-24
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
Comment
Question by:Basicfarmer
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 40463236
You should be able to inspect the row's Table property for this information.
0
 

Author Closing Comment

by:Basicfarmer
ID: 40463251
Awesome Thanks...
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
i have to take the screenshot of command prompt? how to do this? 1 37
C# LINQ ForEach() question 6 28
Powershell File Sort 8 31
MailAddress in vb 4 17
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question