Sorry, should've clarified, the DataTable class doesn't expose them
like this, but a strongly typed DataTable does. When using an untyped
DataTable you need to say myDataTable.Rows(i);

On Sat, Jun 19, 2010 at 7:54 PM, Cerebrus <[email protected]> wrote:
> Really, Jamie ? Is this an .NET 4.0 enhancement. As far as I remember,
> the Datatable class does not expose its rows as an indexer.
>
> On Jun 17, 1:28 pm, Jamie Fraser <[email protected]> wrote:
>> Rather than
>>
>> return MyDataTable;
>>
>> write
>>
>> return MyDataTable(0);
>>
>> Or whatever logic is appropriate. Do be aware that DataRow is not 
>> serializable.
>>
>

Reply via email to