R
Rudy
Hello all,
Going to make this short and sweet for now, need to dig myself out of a foot
of snow this morning.
I have a data Grid, everything work well, except
for the button. Here is my error: "Index was out of range. Must be
non-negative and less than the size of the collection. Parameter name: index"
Source Error:
Line 275: ' if the user checked a box in a CheckBoxList control,
you could check to see
Line 276: ' if the value SelectedIndex property was > -1.)
Line 277:
DeleteItem(grdProducts.DataKeys(e.Item.ItemIndex).ToString)
Line 278: End If
Line 279:
I'm assuming the index would be my key column. I guess I don't really
understand how the index works.
If someone knows a good sample or HOW To, that would be great!
Thanks for the help!
Rudy
Going to make this short and sweet for now, need to dig myself out of a foot
of snow this morning.
for the button. Here is my error: "Index was out of range. Must be
non-negative and less than the size of the collection. Parameter name: index"
Source Error:
Line 275: ' if the user checked a box in a CheckBoxList control,
you could check to see
Line 276: ' if the value SelectedIndex property was > -1.)
Line 277:
DeleteItem(grdProducts.DataKeys(e.Item.ItemIndex).ToString)
Line 278: End If
Line 279:
I'm assuming the index would be my key column. I guess I don't really
understand how the index works.
If someone knows a good sample or HOW To, that would be great!
Thanks for the help!
Rudy