I add data to datagridview via datatable as datasource.
I want to show to user its progress while added to it.
Please see below code, the purpose is work, but always left behind one row.
I mean while pointer point to row one, the second row data is already added.
How could I do it?
Dim row As DataRow = dtResult.NewRow()
ERV_Global.Locate_DataGridView_Row(dgvHasilProses, dtResult.Rows.Count - 1)
row("Id") = strEmpCode
row("DateLog") = dteDateLog.ToString("dd MMM yyyy")