>Not sure what you mean
>
>This in Visual Studio 2005 C# Mobile 2005
>
>I have a grid called grdMain
>
>I have a dataset called afdDataSet
>
>I have a Table called ITEM
>with a field called ITEM
>
>if i try to enter your code it comes up with errors
>
>Richard
Oh mobile. Sorry datagridview is not supported there. Datagrid is supported though. From help:
"A BindingSource object provides access to the currently selected record in the database, which is passed to the constructor of the summary and edit forms so that the same binding source is used by all forms. In addition to data-binding controls, a BindingSource object can return a DataRowView object of the current row."
"How to: Use the DataGrid on the Pocket PC" has some code samples too.
Cetin