Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. json to datagridview help dumb&((*) that is new to json

json to datagridview help dumb&((*) that is new to json

Scheduled Pinned Locked Moved Visual Studio
csharphelpjavawpf
2 Posts 2 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 4180398
    wrote on last edited by
    #1

    Hello, I've searched and probably have tried everything that anyone has suggested with no success. I have a project that needs to be done in vb.net

    at the beginning and end and I get this 'Unexpected JSON token when reading DataTable: StartObject. Path '[0].65080007', line 1, position 14.' I've also binding to a list and that didn't work. All I need is the {"partNo":"ATD000745","description":"","quantity":1,"assemblyseq":""}} to populate a datagrid view. As you probably can tell by all of this mess I don't know a thing abou

    Richard DeemingR 1 Reply Last reply
    0
    • M Member 4180398

      Hello, I've searched and probably have tried everything that anyone has suggested with no success. I have a project that needs to be done in vb.net

      at the beginning and end and I get this 'Unexpected JSON token when reading DataTable: StartObject. Path '[0].65080007', line 1, position 14.' I've also binding to a list and that didn't work. All I need is the {"partNo":"ATD000745","description":"","quantity":1,"assemblyseq":""}} to populate a datagrid view. As you probably can tell by all of this mess I don't know a thing abou

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Try:

      Dim resultSet As Dictionary(Of String, Job) = JsonConvert.DeserializeObject(Of Dictionary(Of String, Job))(jsonresults)
      Dim jobs As ICollection(Of Job) = resultSet.Values


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups