c# datagrid view New unsaved line can not be deleted

0

When I want to delete empty lines automatically inserted in c # data grid view, the program falls into the error and the unsaved line gives the warning that it can not be deleted.

dataGrid.AllowUserToAddRows = false`

I can not enter data when I apply the code.

the System.InvalidOperationException`
  HRESULT = 0x80131509
  Message = New unsaved line can not be deleted.
  Source = system.windows.forms
c#
datagridview
asked on Stack Overflow May 21, 2018 by serdar • edited May 21, 2018 by serdar

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0