How can i add edit boxes, and read their values during submit, with an asp:Repeater?
i have an asp:GridView which is displaying a rea
You can do this using a GridView, but you'll produce quite a lot of code if you have many columns.
First make all columns in the GridView TemplateFields. In my sample I will use just one column. Like so:
Then in your code behind for the Save button you can iterate over the rows in the GridView:
foreach (GridViewRow gvRow in test.Rows)
{
string val = ((TextBox)gvRow.FindControl("FooText")).Text;
//do something with all the values you have parsed from the row
}