K
Kevin Bell via .NET 247
Hi All!
I am trying to create a simple login feature for my webpage dynamically using VB.NET/ASP.NET. There are two textfields, userName and userPass, and a button, btnLogin.
I want to use addHandler to set btnLogin's Command to a sub that will read in the values from userName and userPass then do the authentication.
The problem I'm having is that I can't pass two values through btnLogin.commandargument. Even if I could, is it possible to pass the values FROM the two textfields instead of just a static "example" string value?
I need to create this login feature with the dynamic controls, but if anybody can suggest a better way, I'd really appreciate it!
I am trying to create a simple login feature for my webpage dynamically using VB.NET/ASP.NET. There are two textfields, userName and userPass, and a button, btnLogin.
I want to use addHandler to set btnLogin's Command to a sub that will read in the values from userName and userPass then do the authentication.
The problem I'm having is that I can't pass two values through btnLogin.commandargument. Even if I could, is it possible to pass the values FROM the two textfields instead of just a static "example" string value?
I need to create this login feature with the dynamic controls, but if anybody can suggest a better way, I'd really appreciate it!