예제 #1
0
        protected void PasswordTextBox_Load(object sender, EventArgs e)
        {
            UserBL userBL = new UserBL();
            string password = "";
            ErrorLabel.Text = "message will show here";

            password = userBL.GetUserPassword();

            if (password != null)
            {
                TextBox pe = (TextBox)UsersDetailsView.FindControl("PasswordTextBox");
                pe.Text = password;

            }
        }