DataGridView DeleteRow issue
-
Hi guys, I have a datagridview. i can delete all rows, bud not the last row, i mean i can't never delete wen there is only one row remaind. any idea how to fix this? thanx.
-
Hi guys, I have a datagridview. i can delete all rows, bud not the last row, i mean i can't never delete wen there is only one row remaind. any idea how to fix this? thanx.
hi dear, what u r using to delete in GV. like checkbox or button. could tell me i can do something. if you clear this thanks
"Good Thing Goes With Good People..."
-
Hi guys, I have a datagridview. i can delete all rows, bud not the last row, i mean i can't never delete wen there is only one row remaind. any idea how to fix this? thanx.
Hi, If you are writing your code to delete rows in datagridview's SelectionChanged event, then you will face this problem. try writing the deletion code in datagridview's CellClick event.
Regards, Ujjaval Modi :) Manpower moves wrenches, horsepower moves cars, and the power of the mind moves the world.
-
hi dear, what u r using to delete in GV. like checkbox or button. could tell me i can do something. if you clear this thanks
"Good Thing Goes With Good People..."
Hi PTells, thanx for your response, i m using a buttom for deleting.