Rex,
>I have a situation similar to the demo in which I add a new record to a GridView and click Cancel without adding an values to the new row. This abandons the edit session, but leaves the newly added record in the DataTable.
>
>How can I tell if the record is newly added and empty so I can delete it?
You can check to see if the RowState property of the DataRow is Added.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com