[Solved] Input type text declaration in code behind, c#

[ad_1]

Input type = text is referenced as an HTMLControl:

using System.Web.UI.HtmlControls;

You can refer to the control using this syntax:

string str10 = ((HtmlInputText)e.Item.FindControl("txtYourTextBoxName")).Value;

[ad_2]

solved Input type text declaration in code behind, c#