My Ajax method returns a dataset.
As HttpContext.Response can only send string formatted data i need a
string which will be accessed as a dataset in the clientside.
i tried using this
"{\"value\":{\"Tables\":[{\"ColCount\":2,\"Rows\":[[{\"value\":\"sss\"},{\"value\":20000}],[{\"value\":\"s\"},{\"value\":10000}]]}]},\"error\":null}"
This is working as a dataset
we can access results as in client side
ds.value.Tables[0].Rows[0][0].Value gives "sss"
but i want in the format of ds.value.Tables[0].Rows[0][colname].Value
How to write the String Format for this
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---