I use AJAX pass a DataTable to client,My code like this,
[Ajax.AjaxMethod()]
public DataSet GetTestDataSet()
{
return DAL.GetTestTable();
}
When I access this DataSet,I muse use field name,my code like this,
ds.Tables[0].Rows[iRow].UNIT;
Where Unit is field name,
I want to use Field Index access field,like this,
ds.Tables[0].Rows[iRow].[0];
but this always return a error.
Please help how i do.
thank you!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---