?
Solved

Array of DataRows to DataTableReader

Posted on 2006-10-23
5
Medium Priority
?
528 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 1000 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

Industry Leaders: 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!

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

771 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