Partial Class OI_RepDocumentos Inherits ClsPaginas Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load If Not Page.IsPostBack Then Dim OI As New ClsOIEventos 'If OI.GetEventos(-1, 4, -1, UsuarioActual.CveEmpresa, -1) Then ' GvDatos.DataSource = OI.DtResultados ' GvDatos.DataBind() 'End If OI.Dispose() End If End Sub End Class