I want to insert a dynamic string to a textbox that placed in a gridview as itemtemplate.
On the code in which im adding information to the gridview,
i want to create a line that'll insert to the textbox a dinamic information,
but even "9" doent work.
see it:
.
.
.
DataRow dataRow = Faults.NewRow();
dataRow["Address"] = customerDT.Rows[0]["Address"];
dataRow["Phone"] = customerDT.Rows[0]["Phone"];
TextBox dateStringBox=(TextBox)dataRow.FindControl("date");
dateStringBox.Text="9";<---------------------Here is the problam!!!
.
.
.