Visual Basic - Imprimir DataGrid

Life is soft - evento anual de software empresarial
 
Vista:

Imprimir DataGrid

Publicado por Fernando Cortes (1 intervención) el 23/12/2004 21:47:01
Necesito imprimir el contenido de una DataGrid

favor mandar código ya que en la red es difícil encontrar semejantes ejemplos

Gracias..

Me seria de gran utilidad si encuentras algo

Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Imprimir DataGrid

Publicado por Pancho (6 intervenciones) el 24/12/2004 03:38:32
este codigo es para flexgrid, pero supongo que no sera tan diferente del tuyo, suerte

For Imprimir = 1 To grilla.Rows - 1
grilla.Row = Imprimir
grilla.Col = 2
Printer.Print Tab(10); grilla.Text;
grilla.Col = 4
Printer.Print Tab(55); grilla.Text;
grilla.Col = 5
Printer.Print Tab(65); grilla.Text;
grilla.Col = 6
Printer.Print Tab(75); grilla.Text;
grilla.Col = 7
Printer.Print Tab(85); grilla.Text;
grilla.Col = 11
Printer.Print Tab(95); grilla.Text;
grilla.Col = 12
Printer.Print Tab(110); grilla.Text;
grilla.Col = 14
Printer.Print Tab(125); grilla.Text;

Next

Printer.EndDoc
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar