-
This commit is contained in:
@@ -292,6 +292,7 @@ Partial Class General_RepIndicadorResumen
|
|||||||
DtVxP.Columns.Add("Color")
|
DtVxP.Columns.Add("Color")
|
||||||
DtVxP.Columns.Add("Unidad")
|
DtVxP.Columns.Add("Unidad")
|
||||||
RowColorIndex = 0
|
RowColorIndex = 0
|
||||||
|
If GvVxP.datasource IsNot Nothing Then
|
||||||
For Each Dr As DataRow In GvVxP.DataSource.Rows
|
For Each Dr As DataRow In GvVxP.DataSource.Rows
|
||||||
If Not Dr("Orden").ToString = "" Then
|
If Not Dr("Orden").ToString = "" Then
|
||||||
Dim Row As DataRow = Nothing
|
Dim Row As DataRow = Nothing
|
||||||
@@ -307,6 +308,8 @@ Partial Class General_RepIndicadorResumen
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Next
|
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 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 {
|
'Dim group_vxp = vxp.GroupBy(Function(x) x.Texto).[Select](Function(g) New With {
|
||||||
' .Texto = Function(x) x.Texto.ToString,
|
' .Texto = Function(x) x.Texto.ToString,
|
||||||
|
|||||||
Reference in New Issue
Block a user