мидасик
✅ System.IndexOutOfRangeException
I tried to insert some rows from my Database and when I run and check in the Form it tells me this: "System.IndexOutOfRangeException"
here is the part where the error is present: dataGridView1.Rows.Add(reader["customer_name"].ToString(), reader["order_date"].ToString(), reader["total_amount"].ToString(), reader["product_name"].ToString());
6 replies