2
I am developing a program in C# and would like to know how I can block/delete an sql line in datagridview.
The line I wanted to delete/block is the last one selected in the print, I wanted to know if it is possible to block or delete because of to write on this line.
I can’t use the enable=false; because when I click on datagridview he writes in the textbox what is selected


Try to set the property Allowusertoaddrows = false;
– PauloHDSousa