How to submit a form from c#
<p>I am developing a internal app in c# which calls one of the banking site. I need to enter curency in DDL, amount in textbox and neeed to find out the exchange rate.</p>

<p>here is the link which i need to use..</p>

<p>https://www.timesofmoney.com/remittance/secure/rmtExchRateCalculator.jsp?tab=US&amp;sendercountry=US&amp;sendercurrency=USD&amp;uiId=TOML&amp;partnerId=TOML

I used myWebClient.UploadValues(C#) but the site is returning some errors...can some one help me with this..</p>

<h2>My Code:</h2>

<pre><code>    string uriString= "https://www.timesofmoney.com/remittance/secure/rmtExchRateCalculator.jsp?tab=US&amp;sendercountry=US&amp;sendercurrency=USD&amp;uiId=TOML&amp;partnerId=TOML";

    // Create a new WebClient instance.
    WebClient myWebClient = new WebClient();

    // Create a new NameValueCollection instance to hold some custom parameters to be posted to the URL.
    NameValueCollection myNameValueCollection = new NameValueCollection();



    // Add necessary parameter/value pairs to the name/value container.
    myNameValueCollection.Add("selCountry", "United States");
    myNameValueCollection.Add("rmtAmount", "100");

    byte[] responseArray = myWebClient.UploadValues(uriString, myNameValueCollection);

    Response.Write(Encoding.ASCII.GetString(responseArray));
</code></pre>

<p><hr /></p>

<p>The response I got from the site:</p>

<p><hr /></p>

<p>Inconvenience Regretted ! </p>

<p>Please check your browser settings to enable you to use the site. You may be facing this problem due to old cookies and temporary internet files</p>

<p>Delete the temporary Internet files.</p>

<p>To delete the temporary Internet files, follow these steps: 
Start Internet Explorer. 
On the Tools menu, click Internet Options, and then click the General tab. 
Under Temporary Internet files, click Delete Cookies. 
Click OK when you are prompted to confirm the deletion. 
Click Delete Files. 
Click OK when you are prompted to confirm the deletion. 
Under History, click Clear History. 
Click Yes when you are prompted to delete your history of visited Web sites. 
Click OK. 
Close all open browsers and restart new browser again 
<hr /></p>
