Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How to convert Indian Rupee to dollars or any other currency in asp.net.

Do we have any function in ASP.Net for currency conversion..?

Thank You!.
Posted

There is no standard function - since the rate changes it need to be a service, rather than a function, or you would always be using the rate on the day the function was written.

I haven't tried it, but there is an article here which should help: Simple Class to get Currency Exchange Rates[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 26-Jul-11 13:31pm    
Isn't that obvious? How about having a library with the function deprecated every day? Good answer, my 5.
--SA
OriginalGriff is right, it needs to be a service.The service will continually check currency values online.To that service, you can utilize this online converter from google and use its values.
http://www.google.com/finance/converter[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 26-Jul-11 13:32pm    
Good links, my 5.
--SA
Sergey Alexandrovich Kryukov 26-Jul-11 13:33pm    
If could be used with System.NET.HttpWebRequest to send request and get response, process it.
--SA
Praveen Kullu 26-Jul-11 14:00pm    
Thank You for your 5!! You are a champion in this website Sir!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900