-- ocultar columnas que no tengan existencia
This commit is contained in:
@@ -158,10 +158,10 @@ Partial Class Inventarios_KardexAlmacen
|
||||
Dim TotColumna As Double = 0
|
||||
For Each Dr As DataRow In dt.Rows
|
||||
TotColumna += Dr.Item(index).ToString.ToDouble
|
||||
Next
|
||||
'If Not TotColumna > 0 Then
|
||||
' ListaBorrar.Add(dt.Columns(index))
|
||||
'End If
|
||||
Next
|
||||
If Not TotColumna > 0 Then
|
||||
ListaBorrar.Add(dt.Columns(index))
|
||||
End If
|
||||
Next
|
||||
For Each item As DataColumn In ListaBorrar
|
||||
dt.Columns().Remove(item)
|
||||
|
||||
Reference in New Issue
Block a user