Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select from dataset

Status
Not open for further replies.

hlybbi

Programmer
Mar 19, 2003
91
0
0
IS
can anybody tell me how to select only certent rows from a dataset table

Best regards Hlynur
 
dataset.Tables(0).DefaultView.Table.Rows(0)(7)

will give you the first row of the table and the 7th column...
 
DataRow [] rows = datatable.Select( "category = 5")

then do what you'd like with the rowset...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top