close
string URI ="http://www.myurl.com/post.php";
string myParameters ="param1=value1&param2=value2&param3=value3"; using (WebClient wc =newWebClient()){
wc.Headers[HttpRequestHeader.ContentType]="application/x-www-form-urlencoded";
stringHtmlResult= wc.UploadString(URI, myParameters);

}
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 amychang2014 的頭像
    amychang2014

    工作需要筆記

    amychang2014 發表在 痞客邦 留言(0) 人氣()