WinForm . There is a DataGridView not attached to the DataSource .
Hands add the line to it:

enter image description here

Why does an empty line with an asterisk appear at the bottom?

I understand this to add a new line. But why grid considers that it is a "live" line? In debugging it can be seen.
How to get rid of it and not lose the ability to add rows?

    1 answer 1

    The presence of this row is the responsibility of the DataGridView.AllowUserToAddRows property. You can get rid of this line and not lose the ability to add rows by setting the value of this property to false and implementing adding rows, for example, when you click a button. You can read about the programmatic addition of lines here , as well as here and here (the first links in Google).