Im not sure if this is a JS or an AJAX question, but here it is -  I am
building a recursive function that creates a hierarchical structure,
Depending on the parentlevel, the function will fetch different tables
in different DBs. My stored procedured cannot be changed to return new
column names, and therefore I need to use the existing columns. The
problem is that the columns that contain the value are not called the
same and I would need to use the index of such column as a reference.

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!

Thanks


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