none
Print Button in Windows Forms c#

Answers

  • Sorry mate doesnt help :/

    is there no code like: 

    "button1.click;

    datagridview.print();"

     

    HEEEELP 

    Thanks 


    Sam Mines

    Hi Sam Mines,

    I am sorry that the DataGridView has no print buttons/methods, you will need to implements it by yourself.

    Here is a sample code for you:

    The DataGridViewPrinter Class:
    http://www.codeproject.com/KB/printing/datagridviewprinter.aspx

     Best Regards


    Neddy Ren[MSFT]
    MSDN Community Support | Feedback to us
    • Proposed as answer by YosrJ Friday, December 23, 2011 1:28 PM
    • Marked as answer by Neddy Ren Monday, January 02, 2012 8:28 AM
    Thursday, December 22, 2011 8:20 AM

All replies