What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Uncommitted new row cannot be deleted. C#

Uncommitted new row cannot be deleted. C#
Author: Message:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: Uncommitted new row cannot be deleted. C#
Isn't because the latest row is in edit mode (with an asterisk in the first column)? before deleting latest row make sure it's not a new row ;)
C# code:
if (!yourdataGrid.Rows[i].IsNewRow){
   yourdataGrid.Rows.RemoveAt(i);
}


This post was edited on 06-14-2009 at 08:59 PM by felipEx.
06-14-2009 08:56 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Uncommitted new row cannot be deleted. C# - by MX-G on 06-14-2009 at 07:52 PM
RE: Uncommitted new row cannot be deleted. C# - by felipEx on 06-14-2009 at 08:56 PM
RE: Uncommitted new row cannot be deleted. C# - by MX-G on 06-14-2009 at 09:11 PM
RE: RE: Uncommitted new row cannot be deleted. C# - by felipEx on 06-14-2009 at 09:59 PM
RE: Uncommitted new row cannot be deleted. C# - by MX-G on 06-14-2009 at 10:46 PM
RE: Uncommitted new row cannot be deleted. C# - by RaceProUK on 06-23-2009 at 05:42 PM
RE: Uncommitted new row cannot be deleted. C# - by robertgalp on 04-19-2012 at 05:38 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On