コード例 #1
0
        private void loadData(string result)
        {
            //string strOrder = webService.getResult("order");
            HealthResult     hResult = getHealthResult(result);
            List <DatasItem> datas   = hResult.datas;
            string           haha    = "";

            gridSheet.DataSource = datas;
        }
コード例 #2
0
        private HealthResult getHealthResult(string strJson)
        {
            HealthResult vj = new HealthResult();

            try
            {
                vj = JsonConvert.DeserializeObject <HealthResult>(strJson);
            }
            catch (Exception ex)
            {
                string ss = ex.ToString();
            }
            return(vj);
        }