Portal    Foro    Buscar    FAQ    Registrarse    Conectarse


Publicar nuevo tema  Responder al tema 
Página 1 de 1
 
 
Genral Reporte De Un Horario
Autor Mensaje
Responder citando   Descargar mensaje  
Mensaje Genral Reporte De Un Horario 
 
Hola amigos.... necesito general unos reportes en html o pdf de unos horario... teniendo en cuenta que (y es obvio) que los datos vienen de una base de dato...¡ postgresql !
las horas la guardo en la base de datos.... es como un imprimir un gridview pero en html...

 



 
SOURBOY - Ver perfil del usuarioEnviar mensaje privado 
Volver arribaPágina inferior
Responder citando   Descargar mensaje  
Mensaje Re: Genral Reporte De Un Horario 
 
Cuenta qué has intentado y dónde tienes el problema. Si no das más pistas no te podemos ayudar.
 




===================
No podemos regresar
 
shordi - Ver perfil del usuarioEnviar mensaje privado 
Volver arribaPágina inferior
Responder citando   Descargar mensaje  
Mensaje Re: Genral Reporte De Un Horario 
 
Nada mas imprime la cabecera.......
y deberia imprimirme el tableview... compreto
PUBLIC SUB Button2_Click()

  DIM ruta AS String
  DIM archivo AS File
  DIM i, j AS Integer
  ruta = User.Home &/ "reporte.html"
  'OPEN "/tmp/reportpersonales.html" FOR CREATE AS #archivo
  OPEN ruta FOR WRITE CREATE AS #archivo
  PRINT #archivo, "<html>"
  PRINT #archivo, "<head><title>Reporte en HTML de Visitas</title></head>"
  PRINT #archivo, "<body topmargin='0' leftmargin='0'>"
  PRINT #archivo, "<table border='1' width='500' cellpadding='4' cellspacing='0' aling='Center'>"
  PRINT #archivo, "  <tr>"
  PRINT #archivo, "    <td colspan='6' align='center'>"
  PRINT #archivo, "      <h3>Listado de Visitas</h3>"
  PRINT #archivo, "    </td>"
  PRINT #archivo, "  </tr>"
  PRINT #archivo, "  <tr>"
  PRINT #archivo, "    <td width='15%' align='center'>Lunes</td>"
  PRINT #archivo, "    <td align='center'>Martes</td>"
  PRINT #archivo, "    <td align='center'>Miercoles</td>"
  PRINT #archivo, "    <td align='center'>Jueves</td>"
  PRINT #archivo, "    <td align='center'>Viernes</td>"
  PRINT #archivo, "    <td align='center'>Sabado</td>"
  PRINT #archivo, "  </tr>"
  FOR i = 0 TO tb1.rows.Count - 1
      PRINT #archivo, "  <tr>"
       FOR j = 0 TO tb1.Columns.Count - 1
       PRINT #archivo, "    <td>" & tb1[i, j].Text & "</td>"
      NEXT
     PRINT #archivo, "  </tr>"
    NEXT
  PRINT #archivo, "</table>"
  PRINT #archivo, "</body>"
  PRINT #archivo, "</html>"
  CLOSE #archivo
  Message.Info("Se ha generado con exito el archivo html")


END
 



 
SOURBOY - Ver perfil del usuarioEnviar mensaje privado 
Volver arribaPágina inferior
Mostrar mensajes anteriores:    
 
OcultarTemas parecidos
Tema Autor Foro Respuestas último mensaje
No hay nuevos mensajes Ayuda Con Reporte maria gabriela General 2 Lunes, 31 Octobre 2011, 19:33 Ver último mensaje
alan
No hay nuevos mensajes Aplicación Inscripción De Horario De Clases carlosbass07 General 7 Viernes, 25 May 2012, 18:24 Ver último mensaje
tonixs
No hay nuevos mensajes Reporte En Gambas3 Fenriz07 Controles/Librerías/Componentes 0 Jueves, 22 Noviembre 2012, 03:36 Ver último mensaje
Fenriz07
No hay nuevos mensajes Destruir Reporte Aerobacterd Controles/Librerías/Componentes 2 Domingo, 12 Abril 2015, 17:46 Ver último mensaje
Aerobacterd
 

Publicar nuevo tema  Responder al tema  Página 1 de 1
 

Usuarios navegando en este tema: 0 registrados, 0 ocultos y 1 invitado
Usuarios registrados conectados: Ninguno


 
Lista de permisos
No puede crear mensajes
No puede responder temas
No puede editar sus mensajes
No puede borrar sus mensajes
No puede votar en encuestas
No puede adjuntar archivos
Puede descargar archivos
No puede publicar eventos en el calendario



  

 

cron