--Se agregó chofer a la tabla de Con_Contratos, y se modificó para que pudiera aceptar CveChofer y mostrarlo en gridview. Se agregó tab de calendario y contratos a RepContratosCalendarios.
This commit is contained in:
@@ -11,11 +11,27 @@ Partial Class RepContratosCalendario
|
||||
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
||||
If Not IsPostBack Then
|
||||
InicializaCalendar()
|
||||
CargaDatos()
|
||||
|
||||
End If
|
||||
InicializaCalendar()
|
||||
|
||||
End Sub
|
||||
Private Sub CargaDatos()
|
||||
Dim ObjContratos As New ClsContratos
|
||||
If ObjContratos.GetContratos(-1, UsuarioActual.CveEmpresa, TipoContrato:=2) Then
|
||||
GvContratos.DataSource = ObjContratos.DtResultados
|
||||
End If
|
||||
ObjContratos.Dispose()
|
||||
GvContratos.DataBind()
|
||||
|
||||
End Sub
|
||||
Private Sub InicializaCalendar()
|
||||
RegistraScript("InitCalendar();")
|
||||
DirectCast(Master.FindControl("TSM"), ScriptManager).EnablePageMethods = True
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user