dgv.DataBindings.Clear(); dgv.AllowUserToAddRows = true; int n = dgv.Rows.Add(); dgv.Rows[n].Cells["col1;].Value = iaccountID; dgv.Rows[n].Cells["col2"].Value = iprojectID; dgv.Rows[n].Cells["col3"].Value = DBNull.Value; dgv.ClearSelection(); dgv.CurrentCell = dgv.Rows[n].Cells["col1"]; dgv.BeginEdit(true);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)