Getting result of Password fields in the objMM.Bod

Blobapaniomma

New Member
I used the feedback form example on this site for a .NET feedback form and it works beautifully, except for one item.<BR><BR>I want to use password fields so users can type in a password. This password should be passed to the body of the e-mail message.<BR><BR>The code for the e-mail body reads:<BR><BR>'Set the body<BR><BR>objMM.Body = "<b>Name:</b>??? " & txtName.Text & " " & _<BR>"<b>Password:</b>?? " & txtPassword.Text & " " & _<BR> <BR>I get the error message:<BR><BR>Line 46:"<b>Password:</b>?? " & txtPassword.Text & " " & _<BR> <BR>Compiler Error Message: BC30456: The name 'Text' is not a member of 'System.Web.UI.HtmlControls.HtmlInputText'.<BR><BR> What I did was drag a Password field from the HTML section in Visual Studio. I guess it wants one from the Web Forms department, but I can’t find any
 
Back
Top