G
Guest
Hi
Can anyone point me in the right direction
I am using vb.net 2003 to create a windows form application
I have a datagrid bound to a dataset, clicking between row 0 and row 1,
several times will cause an exception, the error is because the
currentrowindex has changed to 2, with only two rows on the grid where is
this value coming from ?
What I am trying to achieve, is that when a user clicks to another row the
values on the previous row are totaled up, what is the best event to place
this code with, I am currently using the mouse up event, could this be
causing the above problem.
I am not using the CurrentCellChanged event as part of the totaling process
involves modification to cells on the same row.
Thanks
Can anyone point me in the right direction
I am using vb.net 2003 to create a windows form application
I have a datagrid bound to a dataset, clicking between row 0 and row 1,
several times will cause an exception, the error is because the
currentrowindex has changed to 2, with only two rows on the grid where is
this value coming from ?
What I am trying to achieve, is that when a user clicks to another row the
values on the previous row are totaled up, what is the best event to place
this code with, I am currently using the mouse up event, could this be
causing the above problem.
I am not using the CurrentCellChanged event as part of the totaling process
involves modification to cells on the same row.
Thanks