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,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top