Saul schrieb:

> In server code I would do something like this
>    ds.Tables[0].Rows[i].Item[0]  ' get the first item of teh first row

> How can I do the same in the client site ?
> 
>  sN [sN.length] = "<td>" + dsN.Tables[0].Rows[i].Item[0] + "</td>";
> 
> I keep getting undefined errors!

Because the are undefined. The JS Version is a lightweight Version of
the Dataset and an JavaScript doesn't Support differenz indexes for an
array.

So this is the right way

  ds.Tables[0].Rows[i][ds.Tables[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