예제 #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);
        }