2
Answers

dynamic creation of password in C# code behind

Photo of Ashok

Ashok

7y
826
1
how can i create a password field instead of textbox field.Thank you
 
case "TextBox":
ctl = new System.Web.UI.WebControls.TextBox();
this.AppendEvent(ctl, ci.EventHandler);
break;
case "Password":
ctl = new System.Web.UI.WebControls.TextBox();
this.AppendEvent(ctl, ci.EventHandler);
break;

Answers (2)