password textbox read help

M

Millhouse50

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

Ray Booysen

Millhouse50 said:
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;
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top