I am using datatables.net plug in to load data in table.
I called web method in asp.net page and return
JsonConvert.SerializeObject(result)
as string;
I could see below json string as response but I do not know how to bind them with datatables.net
{"d":"[{\"Apple\":507,\"Orange\":6,\"Mango\":75,\"Peach\":638,\"City\":\"SAN ANTONIO\",\"State\":\"TX\"},{\"Apple\":507,\"Orange\":6,\"Mango\":75,\"Peach\":638,\"City\":\"SAN ANTONIO\",\"State\":\"TX\"}]"}
Datatables.net Uncaught TypeError: Cannot read property 'len
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Salman BegRank #284 · 8.8K reputationPosted Feb 11, 2019, 4:17 PM EST