-- se quitó que guarde DtDatos
This commit is contained in:
@@ -32,14 +32,14 @@ Partial Class Inventarios_InventarioFisicoDetalle
|
|||||||
ViewState("CveInventarioFisico") = value
|
ViewState("CveInventarioFisico") = value
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
Private Property DtDatos As DataTable
|
'Private Property DtDatos As DataTable
|
||||||
Get
|
' Get
|
||||||
Return DirectCast(ViewState("DtVentas"), DataTable)
|
' Return DirectCast(ViewState("DtVentas"), DataTable)
|
||||||
End Get
|
' End Get
|
||||||
Set(value As DataTable)
|
' Set(value As DataTable)
|
||||||
ViewState("DtVentas") = value
|
' ViewState("DtVentas") = value
|
||||||
End Set
|
' End Set
|
||||||
End Property
|
'End Property
|
||||||
Private Property CveAlmacenes As String
|
Private Property CveAlmacenes As String
|
||||||
Get
|
Get
|
||||||
Return ViewState("CveAlmacenes").ToString
|
Return ViewState("CveAlmacenes").ToString
|
||||||
@@ -202,7 +202,7 @@ Partial Class Inventarios_InventarioFisicoDetalle
|
|||||||
Else
|
Else
|
||||||
GvIFDUltimoRegistrado.DataSource = Nothing
|
GvIFDUltimoRegistrado.DataSource = Nothing
|
||||||
End If
|
End If
|
||||||
DtDatos = ObjInventario.DtResultados
|
'DtDatos = ObjInventario.DtResultados
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
GvIFD.Columns(6).Visible = False
|
GvIFD.Columns(6).Visible = False
|
||||||
@@ -247,8 +247,8 @@ Partial Class Inventarios_InventarioFisicoDetalle
|
|||||||
GvIFD.DataSource = Inventario.DtResultados '.AsEnumerable.OrderByDescending(Function(k) k!CveInventarioFisicoDetalle).Take(500).CopyToDataTable
|
GvIFD.DataSource = Inventario.DtResultados '.AsEnumerable.OrderByDescending(Function(k) k!CveInventarioFisicoDetalle).Take(500).CopyToDataTable
|
||||||
Else
|
Else
|
||||||
GvIFD.DataSource = Nothing
|
GvIFD.DataSource = Nothing
|
||||||
End If
|
End If
|
||||||
DtDatos = Inventario.DtResultados
|
' DtDatos = Inventario.DtResultados
|
||||||
End If
|
End If
|
||||||
Inventario.Dispose()
|
Inventario.Dispose()
|
||||||
GvIFD.DataBind()
|
GvIFD.DataBind()
|
||||||
|
|||||||
Reference in New Issue
Block a user