From Using the DataGrid in the .NET Compact Framework:
In the .NET Compact Framework, you cannot directly edit the contents of the DataGrid at run time. You must bind controls, such as a TextBox, to your data source and use the DataGrid to display and select records.
From How to: Use the DataGrid on the Pocket PC:
Alternatively, you can have Visual Studio generate summary and edit forms automatically by selecting Generate Data Forms from the shortcut menu for the smart tag on a DataGrid control.
There is also some other sample code (VB.NET
) here: