hi everyone this is a simple qs but it has taken me some time to figure it out but i know twill not stay for long....i have two managing officers who approve some work.either one of them can log in to approve.

i have two buttons...one for PMO and the other for PIC.....project managing officer and project in charge.

i want that when PMO is the one approving and he clicks on his button, the label says Enter pmo password and wen the pic is approving wen he clicks his button, the label changes to enter pic password

for each, they have different passwords

please assist


You can set label text at run time by using the label name with the text property.

So if your label is called "messageLabel" messageLabel.Text = "Please enter the PIC Password"