Hi All,
I want try to set format of datagridview column through below code
but its showing error {"Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index"}
InitializeComponent();
this.dataGridView1.Columns[8].DefaultCellStyle.Format = "0.0";