06 2016 档案

摘要:string strURL = "http://localhost/WinformSubmit.php"; //string param = string.Format("do=login&u={0}&p={1}", username, password); //参数的另一种写法 string st 阅读全文
posted @ 2016-06-20 10:57 海乐学习 阅读(6659) 评论(0) 推荐(0) 编辑
摘要:php 生成 Json 部分 <?php $arr_result = array(); //返回值 $arr_result['result'] = '0'; $arr_result['callerid'] = '139411288888'; echo json_encode($arr_result) 阅读全文
posted @ 2016-06-20 10:50 海乐学习 阅读(394) 评论(0) 推荐(0) 编辑
摘要:引用 Newtonsoft.Json.dll //C# 读取JSON Newtonsoft.Json.Linq.JObject jsonStr = Newtonsoft.Json.Linq.JObject.Parse(strResult); this.txtResult.Text = jsonStr 阅读全文
posted @ 2016-06-20 10:49 海乐学习 阅读(1467) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示