我想使用post方法
提交一个包含4个参数的表单我的代码:
using (var client = new WebClient())
{
var postData = new System.Collections.Specialized.NameValueCollection();
postData.Add("a", a);
postData.Add("b",b);
postData.Add("c",c);
postData.Add("d",d);
byte[] response = client.UploadValues("http://ghjjhelper.com/checking.php", "POST",postData);
var responsebody = Encoding.UTF8.GetString(response);
tb1.Text= responsebody;
}
在我提交之后它返回json:
{"response":[{"FName":"Jim","LName":"Jackson","ID":"123","mark":"60"}]};
如何在提交后从这个json获得4个以上的值?
THX !!!