P
Peter
Gday,
I have a dataset with multiple tables, from which I want to access a
single value in one of those tables.
I know I can do something like:
Decimal myVar =
(Decimal)dsMyDataSet.Tables["MyTable"].Rows[intRowPos]["MyColumn"];
But what if I do not know the rowposition? Can I perform some sort of
sql operation on my dataset to retrieve just a single value?
there? Surely there is a simpler way?
Thanks,
Peter
I have a dataset with multiple tables, from which I want to access a
single value in one of those tables.
I know I can do something like:
Decimal myVar =
(Decimal)dsMyDataSet.Tables["MyTable"].Rows[intRowPos]["MyColumn"];
But what if I do not know the rowposition? Can I perform some sort of
sql operation on my dataset to retrieve just a single value?
that matches the row you're interested in, then get the column fromFrom what I've read it looks like you have to somehow create a datarow
there? Surely there is a simpler way?
Thanks,
Peter