public void RemplirGrid() { OleDbDataReader dr = service.AffichageListeCompany(); System.Data.DataTable dt = new System.Data.DataTable(); dt.Load(dr); foreach (System.Data.DataRow row in dt.Rows) { dataGridView1.Rows.Add(row["Num"].ToString(), row["NomSoc"].ToString(), row["CodeSoc"].ToString()); } }