Hi,
I have a table, datagridview and a label on my form.
I need to display five records on my label one by one with 2 segunds of interval between them. How can I do?
ID | each_number
______________
1 1
2 2
3 3
4 4
5 5
- if (e.RowIndex >= 0)
- {
- DataGridViewRow row = this.dgvPGC.Rows[e.RowIndex];
- if (dgvPGC != null)
- lblNumber.Text = row.Cells["each_number"].Value.ToString();
- }
Then to display it as I said before on the label I need to click on a button.