I\'m trying get values from a GridView using the following code:
foreach (GridViewRow row in this.dgvEstudios.Rows) { var xy = row.Cells[1].Text; }
it could depend on many things.. Where is this code fired in relation to when the GridView is populated (Databind() called)?
Without any context, its hard to say what else it could be.