I try to add new row to datagridview ,I try by using this code
DataGridViewRow row = (DataGridViewRow)dgv_OfferTerms.Rows[0].Clone();
row.Cells[0].Value = cond.Id;
row.Cells[1].Value = cond.Name;
row.Cells[2].Value = cond.Title;
row.Cells[3].Value = cond.Description;
dgv_OfferTerms.Rows.Add(row);
it didn't work so i try this
dgv_OfferTerms.Rows.Add(cond.Id,cond.Name,cond.Title,cond.Description);
didn't work how can i add new row to datagridview??