to handle unhandled exception

ajit

New member
Joined
Sep 21, 2009
Messages
3
Programming Experience
Beginner
hi
i am using data grid view.if i loaded this data grid view with about 15 and above rows
and traverse in data grid view by pressing down arrow key then an unhandeled exception throws.

The unhandled exception is as below

value of '176' is not valid for 'value' .'value' should be between 'minimum' and 'maximum'
parameter name value

will someone have solution to this unhandled exception
thank in advance.
 
Either edit your minimum and/or maximum so that your desired values fall within their range or else edit your values so that they fall between the current minimum and maximum.
 
hi
I am confused with what kind of event get fired when key arrow press in datagrid view so i can track this exception.I had tried to this but not found any desired solution even i have added code for unhandled exception which is not handling this exception.

I am not setting any value,I am just traversing.
thanks in advance.
 
Back
Top