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