I want to use a reference to the SelectedIndex of the row I'm editing in a GridView, without having to click a "Select" button, just the "Edit" button.
I'm trying to send values to a database in code, but it always goes to the selected row, not the row being edited. If a user forgets to select first then edit, the data will go to the wrong record. This will happen more often than not, so I don't want to even enable Selection, just Editing.
In a normally databound control in a GridView I know this wouldn't be an issue, but I have the DropDownList in an EditItemTemplate bound to a different field.