TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Uncommitted new row cannot be deleted.
Venkatesan Jayakantham
Nov 27, 2012
30.2
k
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
Uncommitted new row cannot be deleted error in C# with GridView Control.
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/
Uncommitted new row cannot be deleted.
Next Recommended Reading
Fix - Cannot Declare Variable Of Static Type