Datagrid Update Error!

RSA

Member
Joined
Dec 13, 2004
Messages
8
Programming Experience
Beginner
I have created a datagrid and have used it for a while without any problems. I could update via the Updatecommand and everything worked fine. I was looking at some functions in the property builder of the datagrid and now I can't u[date and get the following errors.

Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
 

RSA

Member
Joined
Dec 13, 2004
Messages
8
Programming Experience
Beginner
Found the problem. After editing via the property builder of the datagrid it somehow deleted the datakey fiels out of the HTML section.
 
Top Bottom