Please have a look how to run asynchronous calls here in the AjaxPro
Google group: http://groups.google.de/group/ajaxpro/search?q=asynchronous&
For a DataSet as return value:
alert(res.value.Tables[0].Rows[0].ColumnName);
For a DataTable as return value:
alert(res.value.Rows[0].ColumnName);
If you use it in the synchronous way (I absolutly recommend to use the
asynchronous calls!!!!!!!!!) it will look like this:
alert(MyClass.MyMethod(param1,param2).value.Tables[0].Rows[0].ColumnName);
Regards,
Michael
On 6/26/06, Alejandro R <[EMAIL PROTECTED]> wrote:
>
> Hi Michael
> I have a big progress with your last update (6.6.26.1).
> Now in my datasets in JS I have data, but it doesn't have the Rows
> array in the DataTables in my DataSet :o(
>
> My error is in:
> Result = dtPorNombre(res.value, 'Result').Rows[0];
> 'Rows.0' es nulo o no es un objeto ('Rows.0' is null or is not an
> object).
>
>
> This is the debug with the old library (6.5.17.1):
> Result.Rows[0] {...} Object
> Existe true Boolean
> Ruta_int 5 Long
> DescripcionRuta "Ruta 2" String
> EsUsoComun false Boolean
> Planta_id "0001 " String
> DescripcionPlanta "Planta 1" String
> FechaDesde Sun May 7 00:00:00 UTC-0300 2006 Object
> FechaHasta Thu Jun 22 00:00:00 UTC-0300 2006 Object
> ControlCostoMaq "NO" String
> ControlCostoOper "NO" String
> ControlCostoRec "NO" String
> CostoSetup "N" String
> Observaciones "Obser" String
> Estado_id "A" String
> DescripcionEstado "Activa" String
> Usuario_id "ADMINSUMMA " String
> DescripcionUsuario "Supervisor de Summa " String
>
>
> This with the new library without the Rows array (as you can see, there
> is not Rows and Names):
> Result[0] {...} Object
> + clear {...} Object
> + addRange {...} Object
> [0] true Boolean
> [1] 5 Long
> [2] "Ruta 2" String
> [3] false Boolean
> [4] "0001 " String
> [5] "Planta 1" String
> + [6] Sun May 7 00:00:00 UTC-0300 2006 Object
> + [7] Thu Jun 22 00:00:00 UTC-0300 2006 Object
> [8] "NO" String
> [9] "NO" String
> [10] "NO" String
> [11] "N" String
> [12] "Obser" String
> [13] "A" String
> [14] "Activa" String
> [15] "ADMINSUMMA " String
> [16] "Supervisor de Summa " String
>
> Maybe it could help you to resolve the problem
>
> Thank you...
>
> Alejandro
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---