The error means that you are casting the each row to
And then assignning toCode:For Each msg As JObject In item.Value
This appears to be some of the value of drNewRow is of 'Newtonsoft.Json.Linq.JProperty' and hence it is not workingCode:drNewRow.Item("address") = msg("address") drNewRow.Item("age") = msg("age") drNewRow.Item("health_center") = msg("health_center") drNewRow.Item("prabhag_name") = msg("prabhag_name")




Reply With Quote
