GetRows Equivalent

  • Thread starter Thread starter Wayne Wengert
  • Start date Start date
W

Wayne Wengert

Is there an equivalent in .NET for the ADO "GetRows" method?

Wayne
 
Hi Wayne,

DataTable and DataAdapter.Fill method are sort of an equivalent.
What exactly do you need?
 
Miha;

Thanks for the response. I wanted to end up with an array of rows/columns. I
am looking at just filling a dataset and using that along the lines you
suggest.

Wayne

Miha Markic said:
Hi Wayne,

DataTable and DataAdapter.Fill method are sort of an equivalent.
What exactly do you need?

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Wayne Wengert said:
Is there an equivalent in .NET for the ADO "GetRows" method?

Wayne
 
Basically, a DataTable is just that--and array of rows and columns. Fill can
populate it for you (and a lot more).

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
www.sqlreportingservices.net
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________


Wayne Wengert said:
Miha;

Thanks for the response. I wanted to end up with an array of rows/columns.
I am looking at just filling a dataset and using that along the lines you
suggest.

Wayne

Miha Markic said:
Hi Wayne,

DataTable and DataAdapter.Fill method are sort of an equivalent.
What exactly do you need?

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Wayne Wengert said:
Is there an equivalent in .NET for the ADO "GetRows" method?

Wayne
 
Wayne,

In addition to Bill.

A datatable is a collection of datarows, which holds a collection of
dataitems.
Those items in the datarow are described in the collection of datacolumns
which is as well in the datatable.

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top