I am going to assume that you are using ASP.NET web forms. Usually you declare your controls on an aspx page using something similar to
<asp:TextBox ID="someId" runat="server/>
If you have done this, then your code should only have a reference to the someId variable and the Text property in order to get / set the text in the control.
If you dynamically create controls on the server, you can insert them into the list and go through it. Make sure you create controls and add them to the table during the correct part of the page life cycle . When you add them to a cell in a table, you can also save the link to the control in the list and simply list the list in the event handler.
Maybe something like strings (I did not compile this, so there are probably problems):
public class MyPage: Page { private List<TextBox> TxtBoxes = new List<TextBox>();
source share