I have a DataGridView which was the subject of a previous question (link). But sometimes the Button is null. This is fine. But if it is null, is th
DataGridView
null
Put the button to the right and ready
DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle(); dataGridViewCellStyle2.Padding = new Padding(0, 0, 1000, 0); row.Cells["name"].Style = dataGridViewCellStyle2;