I got a peculiar issue while trying to delete the records from Datagrid. "Uncommitted new row cannot be deleted."
Reason: The issue is due to the transaction which is not closed.
Solution : Change the porperty of the data gridview -> AllowUserToAddRows property to false
Cheers,
Venkatesan Prabu .J
Head, KaaShiv InfoTech
http://www.kaashivinfotech.com/
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Faisal SaleemPosted Nov 27, 2012, 10:11 AM
good solution, but using this you 've to controll the position of a cursor. it should not goes in to DGV_RowValidating event durrig of row removing process. This can be controlled by declare a boolean varriable in a form. If anybody face problem, he/she can conact me at [email protected]. Faisal Saleem