Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. HowTo Print A Grid In A Window Application

HowTo Print A Grid In A Window Application

Scheduled Pinned Locked Moved C#
csharpcsshelptutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vipin Venugopal
    wrote on last edited by
    #1

    Hello Friends, Can anyone tell me how to print a datagrid in a window application using C#. Iam having a very big grid. first it should be shown to a printpreview page and from there it has to be printed. Help me to get the entire grid to a printpreview page. Vipin

    D N 2 Replies Last reply
    0
    • V Vipin Venugopal

      Hello Friends, Can anyone tell me how to print a datagrid in a window application using C#. Iam having a very big grid. first it should be shown to a printpreview page and from there it has to be printed. Help me to get the entire grid to a printpreview page. Vipin

      D Offline
      D Offline
      Duncan Edwards Jones
      wrote on last edited by
      #2

      There is a VB.Net code snippet that does what you want to do here[^] - you should be able to convert it to C# (or compile it and import the compiled class) '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

      V 1 Reply Last reply
      0
      • V Vipin Venugopal

        Hello Friends, Can anyone tell me how to print a datagrid in a window application using C#. Iam having a very big grid. first it should be shown to a printpreview page and from there it has to be printed. Help me to get the entire grid to a printpreview page. Vipin

        N Offline
        N Offline
        Nader Elshehabi
        wrote on last edited by
        #3

        Hello Try this article ControlPrint[^] Regards:rose:

        1 Reply Last reply
        0
        • D Duncan Edwards Jones

          There is a VB.Net code snippet that does what you want to do here[^] - you should be able to convert it to C# (or compile it and import the compiled class) '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

          V Offline
          V Offline
          Vipin Venugopal
          wrote on last edited by
          #4

          The article u gave worked.Thank u so much for the information. Vipin

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups