tags:

views:

49

answers:

1

I'm new to C# and have set up a grid with 4 rows and 7 columns with a text box in each cell. I know how to manipulate the text boxes, but how can I iterate through the cells to access each text box?

A: 
foreach (TextBox tb in theGrid.Children) tb.Text = "the text";
luvieere