Author: krypton33 | Posted on: 9/16/2008 9:13:17 AM | Views : 288

 I have a table in wich the content is dynamicly created! I have rows with textbox's and dropdownlist's!
 
How do i access them to get their value? I was doing something like this:
 
 
 1 HtmlForm clientForm = (HtmlForm)Page.Master.FindControl("form2");
2 string campo = "";
3 foreach (TableRow tr in tabEspecificos.Rows) //(int i=0;i<clientForm.Controls.Count;i++)
4 {
5
6 if (tr.Cells[1].Controls[0]. .GetType().ToString() == "TextBox")
7 {
8 ...

Go to the complete details ...