Get the value of textbox under datalist itemtemplate
<p>Here is my problem <br/>
A datalist and item template created at run time in asp.net when change value of textbox under datalist item template and page postback due to textchanged event <strong>but the datalist drop and datalist created again in pageload and textbox value drop.</strong></p>

<pre><code>void CreateDL(Control container)
    {
        var st = settings.CustomPossition();
        foreach (var item in settings.CustomPossition())
        {
            DataTable dt = new DataTable();
            dt.Columns.Add("Name");
            dt.Columns.Add("Possition");
            dt.Columns.Add("Production");
            dt.Columns.Add("dpo");
            dt.Columns.Add("WorkDay");
            DataRow dr;
            foreach (var users in item.Users)
            {

                dr = dt.NewRow();
                dr["Name"] = users.Name;
                dr["Possition"] = users.Position.Name;
                dr["Production"] = users.DailyGoalAmount * users.WorkDays;
                dr["dpo"] = users.DailyGoalAmount;
                dr["WorkDay"] = users.WorkDays;
                dt.Rows.Add(dr);
                dt.AcceptChanges();

            }
            DataList dataList = new DataList();      
         //   dataList.ItemTemplate = Page.LoadTemplate("Commnets.ascx");
            container.Controls.Add(dataList);

            dataList.DataSource = dt;
            dataList.DataBind();
        }
    }
</code></pre>

<p>how i can access value of textbox.</p>
