views:

36

answers:

1

OS: Windows Mobile 6.5 Language: C#

This seems like it would be easy but i can't find a way to retrieve the text from the selected row on a DataGrid. The grid is single row selected only - no multiple row selection is allowed.

+1  A: 

Figured it out. One way is

string val = (string)dataGrid1[1, 1]; // cell 1, row 1

Reena