Пример #1
0
    protected void imgupdate_Click(object sender, ImageClickEventArgs e)
    {
        //if (flag.Value != "false")
        //{

        m.UpdateProfile(user, txtname.Text, txtpass.Text);
        lblmessage.Text    = "Congratulations!....your profile is updated.....";
        lblmessage.Visible = true;
        per.fullName       = txtname.Text;
        //}
        //    else
        //    {
        //        lblmessage.Text = "Profile not updated";
        //    }
    }