Hi all,
I would like to add in a progress bar and a status (label control) which will display what system doing after user click a button. There are few status:
Eg: Importing data, Verifying data, Generating Report
Part of my coding:
----------------------------------------------------------------------
Private Sub cmdImport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdImport.Click
ProgressBar1.Visible = True
lblStatus.Visible = True
lblStatus.Text = "Verifying Data File"
........
----------------------------------------------------------------------
lblStatus is the label which will display the current status.
But.. while user click the button, "Verifying Data File" is not displaying.
After the system complete the whole progress, lblStatus only display the text.
May I know any setting / bug I need to attend? Thanks..
I would like to add in a progress bar and a status (label control) which will display what system doing after user click a button. There are few status:
Eg: Importing data, Verifying data, Generating Report
Part of my coding:
----------------------------------------------------------------------
Private Sub cmdImport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdImport.Click
ProgressBar1.Visible = True
lblStatus.Visible = True
lblStatus.Text = "Verifying Data File"
........
----------------------------------------------------------------------
lblStatus is the label which will display the current status.
But.. while user click the button, "Verifying Data File" is not displaying.
After the system complete the whole progress, lblStatus only display the text.
May I know any setting / bug I need to attend? Thanks..