S
Stimp
I have a dataset, objDSet, returning one scalar value.
I am currently using the following...
Dim rRow As DataRow = objDSet.Tables(0).Rows(0)
If rRow("UserCount") <> 0 Then (do something)
but I would prefer to put it all on one line if possible...
e.g.
If objDSet.Tables(0).Rows("UserCount") ...
is this possible?
I am currently using the following...
Dim rRow As DataRow = objDSet.Tables(0).Rows(0)
If rRow("UserCount") <> 0 Then (do something)
but I would prefer to put it all on one line if possible...
e.g.
If objDSet.Tables(0).Rows("UserCount") ...
is this possible?