Código:
Espero que me puedan ayudar. protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
GridViewRow gvr = GridView1.Rows[e.RowIndex];
TextBox txtCristal = (TextBox)gvr.FindControl("txtCristal");
string ID = (string)GridView1.DataKeys[e.RowIndex].Value;
string NOM = txtCristal.Text;
// ENVIAR VALORES A LA FUNCION DE ACTUALIZAR CRISTAL LUEGO BINDEAR EL GRIDVIEW //
Cristales cri = new Cristales();
//lbl_mensaje1.Text = cri.updateCristal(ID,NOM);
lbl_mensaje1.Text = ID + "-" + NOM;
GridView1.EditIndex = -1;
Funciones fun = new Funciones();
string sql_cristal = "SELECT IDCRISTAL,CRISTAL FROM CRISTAL ORDER BY CRISTAL";
this.GridView1.DataSource = fun.Llenar(sql_cristal);
this.GridView1.DataBind();
}
Adios.

