getting a row out of a data set based on a key

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

How would i get a specific row and a column of that row out of a dataset

say i have a dataset "addresses"

and i want to get the address out of that dataset that has the house number
"123" how would i retrieve that row, then refrence the columns of that row?
thanks!
 
Take a look at DataTable.Select method

Tu-Thac
www.ongtech.co

----- Brian Henry wrote: ----

How would i get a specific row and a column of that row out of a datase

say i have a dataset "addresses

and i want to get the address out of that dataset that has the house numbe
"123" how would i retrieve that row, then refrence the columns of that row
thanks
 
assuming a dataset named addresses with a single datatable containing 2
columns, HouseNum and Address where HouseNum is assumed to be a unique
value.
 
Back
Top