[EMAIL PROTECTED] schrieb:

> In the _callback1 function, how do you reference the individual columns
> returned in the dataset?  For example (this does not work!), I want to
> set an element's inner text.
> 
>   document.getElementById("detailName").innerText =
> res.value.Tables[0].Rows[0][0];

> The Rows[0][0] returns an undefined values.  However, there is data.

No. There is no Rows[0][0] in the JSON Version of a DataTable

You can use

Rows[0].NameOfYourField

or if you don't know the Name of the field

Rows[0][Columns[0].Name]


-- 

Freundliche Grüße

Albert Weinert

http://der-albert.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to