关于json解析问题
NSURL *url=[NSURL URLWithString:@"http://192.168.1.101/website1/studentinfo.ashx?sno=sno20130811002"];
NSError *error;
NSURLRequest *request=[NSURLRequest requestWithURL:url];
NSData *data=[NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
NSDictionary *dic=[NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableLeaves error:&error];
NSDictionary *dic_student=[dic objectForKey:@"StudentInfo"];
NSLog(@"Result:%@",dic_student);
NSArray *dic_student_array = [dic objectForKey:@"StudentInfo"];
NSDictionary *dic_student=[dic_student_array objectAtIndex:0];