private void LoadSpecialty() { ManagerDataSpecialization.ClearDataGrid(); string sqlQuery = "SELECT * FROM Specialty"; SQLiteCommand command = new SQLiteCommand(sqlQuery); ManagerDataSpecialty.LoadData(command); dataGridViewSpecialty.Columns["KOD"].HeaderText = "Код"; dataGridViewSpecialty.Columns["KOD"].ReadOnly = true; dataGridViewSpecialty.Columns["KOD"].Width = 100; dataGridViewSpecialty.Columns["Name"].HeaderText = "Название"; dataGridViewSpecialty.Columns["Name"].Width = 500; }