password textbox read help

Discussion in 'ASP .Net' started by Millhouse50, Aug 14, 2006.

  1. Millhouse50

    Millhouse50 Guest

    I am using ASP.NET 2.0 with C# and am having trouble with some
    textboxes. I have the textboxes set to password and have two setup so
    that I can validate the password. Now I need to get the password the
    user entered into a variable in my C# code, because I need to send it
    as a variable in a vbscript I run through the C# code. I was wondering
    if anyone could tell me how to obtain the password out of the textbox
    and put it into a variable I can use later. Thanks for the help in
    advance.
     
    Millhouse50, Aug 14, 2006
    #1
    1. Advertising

  2. Millhouse50

    Ray Booysen Guest

    Millhouse50 wrote:
    > I am using ASP.NET 2.0 with C# and am having trouble with some
    > textboxes. I have the textboxes set to password and have two setup so
    > that I can validate the password. Now I need to get the password the
    > user entered into a variable in my C# code, because I need to send it
    > as a variable in a vbscript I run through the C# code. I was wondering
    > if anyone could tell me how to obtain the password out of the textbox
    > and put it into a variable I can use later. Thanks for the help in
    > advance.
    >

    string myPassword = txtPassword.Text;
     
    Ray Booysen, Aug 15, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page