a bcd

a bcd

  • NA
  • 1
  • 7.7k

How do i show up a value from json

May 24 2016 8:26 AM
private void Form2_Load(object sender, EventArgs e){
 
   Location = new Point(Screen.PrimaryScreen.WorkingArea.Right - Width,
   Screen.PrimaryScreen.WorkingArea.Bottom - Height);
 
   Label label = new Label();
   label.Location = new Point(13, 30);
 
 var json1newWebClient().DownloadString("http://dev.ibeaconlivinglab.com:1881/companybyuuid?uuid=" + label.Text);
 
List<details> detailsList = JsonConvert.DeserializeObject<List<details>>(json1);
 
foreach (details dets in detailsList)
{
 
   label.Text = dets.id;
   this.Controls.Add(label);
 
}
}
this is what i got now 

Answers (1)