private void gvDatos_CurrentRowChanged(object sender, Telerik.WinControls.UI.CurrentRowChangedEventArgs e) { oEnsamble = new WCF_Ensamble.Hersan_EnsambleClient(); try { gvDetalle.DataSource = null; gvResumen.DataSource = null; if (gvDatos.RowCount > 0) { oDetalle = oEnsamble.CAL_InspeccionInyeccion_AnalisisDetalle(int.Parse(gvDatos.CurrentRow.Cells["Lista"].Value.ToString())); gvDetalle.DataSource = oDetalle; gvResumen.DataSource = oDetalle.Count > 0 ? oDetalle[0].Resumen : null; } } catch (Exception ex) { RadMessageBox.Show("Ocurrió un error al seleccionar la lista\n" + ex.Message, this.Text, MessageBoxButtons.OK, RadMessageIcon.Error); } finally { oEnsamble = null; } }