Mi codigo:
Código:
PD: Los drop no me funcionan.GridViewRow row = GridView1.Rows[e.RowIndex]; string numfab = ((TextBox)(row.Cells[1].Controls[0])).Text; string linea = ((TextBox)(row.Cells[2].Controls[0])).Text; string strcristal1 = ((DropDownList)(row.Cells[3].Controls[0])).Text; string strcristal2 = ((DropDownList)(row.Cells[4].Controls[0])).Text; float floancho = float.Parse(((TextBox)(row.Cells[5].Controls[0])).Text); float floalto = float.Parse(((TextBox)(row.Cells[6].Controls[0])).Text); int intcanthermo = int.Parse(((TextBox)(row.Cells[7].Controls[0])).Text); string strtipo = ((TextBox)(row.Cells[8].Controls[0])).Text; string strseparador = ((TextBox)(row.Cells[9].Controls[0])).Text;
Gracias.