[Solved] Get url as www.abcd.com?curr=USD

<form action=’www.abcd.com/aboutus.php’ method=’get’> <select name=”curr” id=’test’> <option value=”USD”>USD</option> <option value=”Euro”>Euro</option> </select> <input type=”submit” value=”submit”> </form> on your pages simply put <? $curr = $_GET[‘curr’]; ?> now on every link include abcd.com?curr=<? echo $curr ?> 9 solved Get url as www.abcd.com?curr=USD

[Solved] How to implement currency conversion

Please change you code with below code [WebMethod] public decimal ConvertGOOG(decimal amount, string fromCurrency, string toCurrency) { WebClient web = new WebClient(); string apiURL = String.Format(“http://finance.google.com/finance/converter?a={0}&from={1}&to={2}”, amount, fromCurrency.ToUpper(), toCurrency.ToUpper()); string response = web.DownloadString(apiURL); var split = response.Split((new string[] { “<span class=bld>” }), StringSplitOptions.None); var value = split[1].Split(‘ ‘)[0]; decimal rate = decimal.Parse(value, CultureInfo.InvariantCulture); return rate; … Read more