It can be done using Google Currency API
protected void Page_Load(object sender, EventArgs e)
{
System.Net.WebClient client = new System.Net.WebClient();
string rates = client.DownloadString("http://rate-exchange.appspot.com/currency?from=INR&to=USD");
Rate rate = new System.Web.Script.Serialization.JavaScriptSerializer().Deserialize<Rate>(rates);
double inr = 100;
double usd = inr * rate.rate;
}
public class Rate
{
public string to { get; set; }
public string from { get; set; }
public double rate { get; set; }
}