Solved

Array of DataRows to DataTableReader

Posted on 2006-10-23
5
521 Views
Last Modified: 2012-06-27
I am performing searches on datatables using the select command. I am aware that this will return an array of datarows.
What is the easist was of putting this info into a datatablereader? Or if possible perform a search on the datatable to return a datatablereader straight off?
0
Comment
Question by:fred2k3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 17793618
<<datatablereader
what does it mean? is it data reader
0
 
LVL 5

Expert Comment

by:rameedev
ID: 17793685
If you can get the Array of DataRows...why do you need the DataReader?
0
 
LVL 6

Expert Comment

by:MuhammadAdil
ID: 17793727
Very Confusing describe in detail
0
 

Author Comment

by:fred2k3
ID: 17794832
gauthampi for a definition of a DataTableReader: http://msdn2.microsoft.com/en-us/library/system.data.datatablereader.aspx


I need to search information from within  a 'data set'.

The overall aim is to return an object which has inherited from the interface: IDataReader. That is why I am trying to return a DataTableReader.


Is this clearer?
0
 
LVL 5

Accepted Solution

by:
rameedev earned 500 total points
ID: 17801345
This feature is not there in 1.1 Ver but i guess is available in 2.0...you could do something like this

Dim dtr As DataTableReader = ds.Tables(0).GetDataReader

Take a look at the below url for more new DataSet Features in ADO.Net 2.0

http://msdn2.microsoft.com/en-us/library/ms971494.aspx
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

695 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