Posted on: 8/8/2013 4:33:33 AM | Views : 231

hi Friends,
After Googling I got the following code
protected void Button1_Click(object sender, EventArgs e) { try { string fromcountry = ddlfromcountry.Value; string tocountry = ddltocountry.Value; string amount = txtamount.Text; string URL = "http://www.google.com/finance/converter?a=" + amount + "&from=" + fromcountry + "&to=" + tocountry; byte[] databuffer = Encoding.ASCII.GetBytes("test=postvar&test2=another"); HttpWebRequest _webreqquest = (HttpWebRequest)WebRequest.Create(URL); _webreqquest.Method = "POST"; _webreqquest.ContentType = "application/x-www-form-urlencoded"; _webreqquest.ContentLength = databuffer.Length; Stream PostData = _webreqquest.GetRequestStream(); PostData.Write(databuffer, 0, databuffer.Length); PostData.Close(); HttpWebResponse WebResp = (HttpWebResponse)_webreqquest. ...

Go to the complete details ...