json to datagridview help dumb&((*) that is new to json
Visual Studio
2
Posts
2
Posters
10
Views
1
Watching
-
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 -
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 abouTry:
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