Click here to Skip to main content
15,891,811 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am having this problem with my gridview when ading a new record in it

Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

What to do?

Posted
Updated 1-Dec-09 5:13am
v2

Hey i don't get u but if u send me tht code snpt thn i wl try 2 solve it.
khaliljkazi@gmail.com
 
Share this answer
 
Please post your code. Can't help much without it.
 
Share this answer
 
I think the problem will be the Rows count while you retrieve the records from db. please check it
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900