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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -