private void add_click(object sender, EventArgs e) { try { DataRow row = db1.NewRow(); dataGridView2.Rows.Add(dataGridView2.CurrentRow.Index); sda.Update(db1); } catch (Exception exceptionObj) { System.Windows.Forms.MessageBox.Show(exceptionObj.Message.ToString()); } }
DataSource
DataGridView
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)