Prolog: my colleagues already determined that I have lost connection with the real world today
given THAT, I believe I totally forgot how to make my datagrid appear ALREADY in edit mode on a given EditItemIndex.
Considering that the DataSet I bind to it has 1 row:
dgOrders.DataSource = ds.Tables[0];
dgOrders.SelectedIndex = dgOrders.Items[0].ItemIndex;
dgOrders.DataBind();
I get a nice OutOfRangeException on the second row...
any ideas?
loads of thanks! Daren J. Lahey
Just another computer guy...
If you are unsure of forum etiquette check here FAQ796-2540
given THAT, I believe I totally forgot how to make my datagrid appear ALREADY in edit mode on a given EditItemIndex.
Considering that the DataSet I bind to it has 1 row:
dgOrders.DataSource = ds.Tables[0];
dgOrders.SelectedIndex = dgOrders.Items[0].ItemIndex;
dgOrders.DataBind();
I get a nice OutOfRangeException on the second row...
any ideas?
loads of thanks! Daren J. Lahey
Just another computer guy...
If you are unsure of forum etiquette check here FAQ796-2540