Código:
A la hora de probarlo no actualiza el dataset, podrian orientarme? que hago mal? private void guardic_Click(object sender, EventArgs e) { int i = dataGridView1.Rows.Count - 2; while (i >= 0) { string jojo = dataGridView1.Rows[i].Cells[12].Value.ToString(); int jaja = Convert.ToInt32(jojo); canal4videosDataSet.evento[jaja].E1 = dataGridView1.Rows[i].Cells[1].Value.ToString(); canal4videosDataSet.evento[jaja].ME1 = dataGridView1.Rows[i].Cells[2].Value.ToString(); canal4videosDataSet.evento[jaja].E2 = dataGridView1.Rows[i].Cells[3].Value.ToString(); canal4videosDataSet.evento[jaja].ME2 = dataGridView1.Rows[i].Cells[4].Value.ToString(); canal4videosDataSet.evento[jaja].Epais = dataGridView1.Rows[i].Cells[5].Value.ToString(); canal4videosDataSet.evento[jaja].Efecha = dataGridView1.Rows[i].Cells[6].Value.ToString(); canal4videosDataSet.evento[jaja].Eduracion = dataGridView1.Rows[i].Cells[7].Value.ToString(); canal4videosDataSet.evento[jaja].Evideo = dataGridView1.Rows[i].Cells[8].Value.ToString(); canal4videosDataSet.evento[jaja].Eliga = dataGridView1.Rows[i].Cells[9].Value.ToString(); canal4videosDataSet.evento[jaja].Enarrador = dataGridView1.Rows[i].Cells[10].Value.ToString(); canal4videosDataSet.evento[jaja].Edetalles = dataGridView1.Rows[i].Cells[11].Value.ToString(); i--; } canal4videosDataSet.AcceptChanges(); }