question about JSON

Posted by Rawhi on Stack Overflow See other posts from Stack Overflow or by Rawhi
Published on 2011-01-13T11:46:29Z Indexed on 2011/01/13 11:53 UTC
Read the original article Hit count: 217

Filed under:
|
|
|

Hi, If I have in my db a table called User with name, Id, age fields and I want to get these data and put it in a var as a JSON serialize, then I want to send it to javascript page to reform it as I want . I need to know how to put these data in a var as a JSON, how to read the data in the javascript file (how to deal with each one. for example : array[name]) !!!?
which thing is more better to deal with these data in asp.net code then send it in the javascript or to send it to the javascript and then to deal with !!? thank u :D

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ASP.NET