foreach (Control c in gvFormula.Rows[gvFormula.EditIndex].Controls) { // How to make use of this loop }
foreach (GridviewRow row in gvFormula.Rows) { //should you have a TextBox called txt1 ((TextBox)row.FindControl("txt1")).ReadOnly = true; //or if you need invisible ((TextBox)row.FindControl("txt1")).Visible = false; //and so on and so on... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)