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. Advertisements

  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. Advertisements

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.
Similar Threads
  1. Alex
    Replies:
    1
    Views:
    617
    Colt [MVP]
    Jul 11, 2003
  2. Kumar

    asp:TextBox TextMode='Password'

    Kumar, Jul 12, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    707
    Kumar
    Jul 12, 2003
  3. feng
    Replies:
    4
    Views:
    1,533
  4. Replies:
    3
    Views:
    691
    John W. Krahn
    Apr 7, 2006
  5. Luqman
    Replies:
    5
    Views:
    1,075
  6. AAaron123
    Replies:
    2
    Views:
    2,984
    AAaron123
    Jan 16, 2009
  7. AAaron123
    Replies:
    1
    Views:
    1,639
    Oriane
    Jan 16, 2009
  8. Replies:
    3
    Views:
    342
    John W. Krahn
    Apr 7, 2006
Loading...