remove gray row at bottom of datagridview code example Example: remove gray row at bottom of datagridview myDataGridView.AllowUserToAddRows = false;