if you want a single row just use
DataRow dr = ds.Tables[0].Rows[1];
--
Misbah Arefin
https://mcp.support.microsoft.com/profile/MISBAH.AREFIN
http://dotnethitman.spaces.live.com
http://www.linkedin.com/in/misbaharefin
"Paulo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> DataRow dr = (DataRow)ds.Tables[0].Rows[1].ItemArray;
>
> Error 1 Cannot convert type 'object[]' to 'System.Data.DataRow'
> C:\Documents and Settings\Fabio\Meus documentos\Visual Studio
> 2005\Projects\CodBarraPalm\CodBarraPalm\Default.aspx.cs 35 26 CodBarraPalm
> ?
>
> why this error trying to get the contents of a row on a DataSet?
>
>