int _dgrow = dgvSOUT.Rows.Count;
dgvSOUT.Rows.Add();
dgvSOUT.Rows[_dgrow].Cells[0].Value = dgvSOUT.Rows.Count;
dgvSOUT.Rows[_dgrow].Cells[1].Value = cmblot.Text;
dgvSOUT.Rows[_dgrow].Cells[2].Value = txtSName.Text;
dgvSOUT.Rows[_dgrow].Cells[3].Value = txtbrand.Text;
No comments:
Post a Comment