Verificar error al consultar en el kardex

This commit is contained in:
2019-08-30 09:54:04 -07:00
parent 2f2b9d81d7
commit 8c05e2ba53

View File

@@ -153,9 +153,13 @@ Partial Class Inventarios_KardexAlmacen
Return dt Return dt
Exit Function Exit Function
End If End If
Else
ObjMovimientos.Dispose()
Alert("Ocurrió un error al consultar el Kardex.", TipoMensaje.MsgError)
Exit Function
End If End If
ObjMovimientos.Dispose()
GvDatos.DataBind() GvDatos.DataBind()
For index = 3 To GvDatos.Rows(0).Cells.Count - 1 For index = 3 To GvDatos.Rows(0).Cells.Count - 1