Results 1 to 4 of 4

Thread: Easiest way to print

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Easiest way to print

    Hi Folks

    I have a datatable containg names and addresses displayed in a datagridview and need to send these to the printer.

    Whats the easiest way to do this?

    I dont wan't to screw about with crystal reports e.t.c.


    Thanks In Advance

    Parksie

  2. #2
    Lively Member
    Join Date
    Nov 2007
    Posts
    105

    Re: Easiest way to print

    The datagridview control has a drawtobitmap method. I am not sure how well it works, but you could try it. You could also export the data to excel or notepad and print the file.

  3. #3
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Easiest way to print

    Our fellow VBF member Merion submitted a class to print a datagrid/datagridview in VB.Net codebank. Do a search for it and you should find it.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  4. #4
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    Re: Easiest way to print

    If you can get away with just printing the sceen, you can use PowerPacks Print Form.
    It's so easy to use even I figured it out lol

    Not sure the version your using but its an add-on for 2005 and i think it comes with 2008 you will have to check

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width