Visual Basic .NET » ASP.NET General Discussion
How to access DataTable? -- OldGun --


I use AJAX pass a DataTable to client,My code like this,


public DataSet GetTestDataSet()
{
return DAL.GetTestTable();
}

When I access this DataSet,I muse use field name,my code like this,
ds.Tables
.UNIT;
Where Unit is field name,

I want to use Field Index access field,like this,
ds.Tables
;

but this always return a error.
Please help how i do.

thank you!

-- AlbertWeinert --


Old Gun schrieb:

I want to use Field Index access field,like this,
ds.Tables
;

ds.Tables
 



but this always return a error.
Please help how i do.

Search this Group will also help to :) 


http://groups.google.com/group/ajaxpro/browse_thread/thread/53519530ae77df68/61a4d329fbce6d74 

--
Freundliche Grüße

Albert Weinert

http://der-albert.com 

[Submit Comment]Home