c# - How to get a Previous request value -
i calling webservice , getting double value below code.
double exchangevalue = exchangerate.conversionrate(currencyexchange.currency.inr, currencyexchange.currency.aed);
once connected internet getting double value webservice
, doing stuff.
suppose not connected internet,so not value previous line of code,because can't call webservice
. want value previous request. how store previous request value can use value when internet connection off.
any kind of appreciated.
well,you mentioned want use 'previous value
',than when value web service,store somewhere @ client. there many options storing it.
when don't have internet connection,get stored value , perform operation.when internet connection,obtain value again , update replacing stored one.
regards..
Comments
Post a Comment