It is necessary to make removal from a DB through dataGrid. I delete via the standard socket that comes with the dataGrid, only added a button to update the data in the database. But for some reason, deletion only works if you run the exe file. In addition, if you run the project again, the string that I deleted is returned. I can not understand why.
this.призначенняTableAdapter.Update(this.apteka1DataSet.Призначення); Button code.