?
Solved

VB .NET Dataset Question

Posted on 2003-02-24
2
Medium Priority
?
1,418 Views
Last Modified: 2013-12-25
I was wondering if it's possible to use a query in with a Dataset to find rows in a Dataset.Tables() or do you have to program your own algorithme and pass througth all of your rows to find what you are looking for?

Example, to replace some values by other on a non-primary key column.

Thanks
0
Comment
Question by:Dranizz
  • 2
2 Comments
 

Accepted Solution

by:
matchbx27 earned 150 total points
ID: 8019213
Assing the dataset to a dataview like so

dv = New DataView(dsExistingDataSet.Tables(0))

After doing this you get access to Count, RowFilter, Find, FindRows... and many more.

0
 

Expert Comment

by:matchbx27
ID: 8019222
Sorry that should be "Assign" not "Assing"
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

621 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