This commit is contained in:
2022-12-13 08:24:00 -07:00
parent 7ff970f8ab
commit 0c47f6da04

View File

@@ -292,6 +292,7 @@ Partial Class General_RepIndicadorResumen
DtVxP.Columns.Add("Color")
DtVxP.Columns.Add("Unidad")
RowColorIndex = 0
If GvVxP.datasource IsNot Nothing Then
For Each Dr As DataRow In GvVxP.DataSource.Rows
If Not Dr("Orden").ToString = "" Then
Dim Row As DataRow = Nothing
@@ -307,6 +308,8 @@ Partial Class General_RepIndicadorResumen
End If
End If
Next
End If
'Dim vxp = From s In DtVxP.AsEnumerable() Select New With {.Texto = s("Texto").ToString(), .Valor = s("Valor").ToString().ToDouble(), .Color = s("Color").ToString(), .Unidad = s("Unidad").ToString()}
'Dim group_vxp = vxp.GroupBy(Function(x) x.Texto).[Select](Function(g) New With {
' .Texto = Function(x) x.Texto.ToString,