G
Guest
I am trying to get the value from a simple stored procedure - the Stored
Procedure returns 1 record with one field - it is basically "Select Max(po)
as MaxPo from PODB"
I want to store that value into a variable - in old asp i could simply say
MaxPO=rs("MaxPo")
and i would be done. Now i have tried using Datareaders and dataadapters
w/o any success. all the examples i am finding are for datagrids and
dropdown boxes. All I want to do is grab this one value? what is the easiest
way??
Procedure returns 1 record with one field - it is basically "Select Max(po)
as MaxPo from PODB"
I want to store that value into a variable - in old asp i could simply say
MaxPO=rs("MaxPo")
and i would be done. Now i have tried using Datareaders and dataadapters
w/o any success. all the examples i am finding are for datagrids and
dropdown boxes. All I want to do is grab this one value? what is the easiest
way??