datagrid.rows

In Windows mobile 5.0 for pocket pc i have not datagrid.columns or datagrid.rows but i need them...

Here i have datagrid[rowindex,colindex].

How can iterate over rows using foreach (datarow row in datagrid. )

thx




Answer this question

datagrid.rows

  • ZeroNET

    You must bind a datasource to you DataGrid and iterate the datasource.
    Then you can easy use a foreach to iterate, a little example can be found here.

  • datagrid.rows