How do I get this value

How do I get this value

srainsrain Posts: 11Questions: 4Answers: 0

I have a webmethod returning this json value :

[{"ProductName":"Microsoft Basic","ActivationDate":"20Jan13","ExpiryDate":"30Jan13","Status":"Finished"},
"ProductName":"Photoshop Basic","ActivationDate":"10Jan13","ExpiryDate":"15Jan13","Status":"Activated"}]

var RowDataFullDetail =
[{"UserName":"Audrey","Email":"test@email.com","details":
[{"ProductName":"Microsoft Basic","ActivationDate":"20Jan13","ExpiryDate":"30Jan13","Status":"Finished"},
{"ProductName":"Photoshop Basic","ActivationDate":"10Jan13","ExpiryDate":"15Jan13","Status":"Activated"}]},
{"UserName":"Andrew","Email":"anothertest@email.com","details":
[{"ProductName":"Managing People","ActivationDate":"20Jun13","ExpiryDate":"25June13","Status":"Activated"}]}];

//this var is working
var WorkingData = RowDataFullDetail[rowIndex].details;

//how do i get the data to return as WorkingData, with the webmethod value? webmethod value is basically the details of RowDataFullDetail

Answers

  • srainsrain Posts: 11Questions: 4Answers: 0

    Please ignore this question. Found the solution - typo syntax error.

This discussion has been closed.