But, I'm trying to add an EDIT menu-function for the current-row (if any) in
the grid. And, no matter what row is highlighted in the grid, the value for
'grid.CurrentRowIndex' is ALWAYS -1.
I've used DataGrids before and never experienced this before, but those
datagrids were always placed on the form at design-time. Am I missing
something obvious? One other detail: the 'InvDT' datatable starts out with
columns defined, but no rows in it, at the time when it is set to the grid's
.DataSource.
Studio2005, c#, targetting PocketPC 2003. Problem occurs whether I'm
stepping thru via debug in the emulator, or either of 2 WindowsMobile5
devices.