Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Message
Message
From
04/05/2004 11:31:26
 
 
To
03/05/2004 18:32:26
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00900533
Message ID:
00900789
Views:
9
The error is pointing to this line:
myCommand.Parameters("@id").Value = Me.grdProducts.DataKeys(CInt(e.Item.ItemIndex))

Error message is:
"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

I have done the following trying to solve this problem but nothing yet:
I have added a primary key to my table.
I have added a column to my grid to display the primary key field.

Any suggestions?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform