locked
c# Print document data within sql server database RRS feed

  • Question

  • Hello All,

    I want source code for c# print document for complex report(OLAP type report which not  possible in a crystal reports ).I have 5 to 6 sql(Tables/Views) and I want to display them  document. Some table/view return a statement and for other I have to make row and column in short(gridview in print document.) I want print document in 3-4 section.If one section 's size increase due to data.the other section move towards with margin.Print document with paging facility.!

    So ,Friends plz suggest me for this,

    Thnks.

    • Moved by Bob Shen Tuesday, May 8, 2012 4:04 AM (From:Visual C# General)
    Friday, May 4, 2012 9:51 AM

Answers

  • there is no concept of document in C#. You need to specify the meaning of "document".

    From your mentioning of gridview class, I guess you are talking about ASP.Net. Note if your "print document" means the PrintDocument class in System.Drawing, read the note about ASP.Net's support of System.Drawing at http://msdn.microsoft.com/en-us/library/system.drawing.aspx.



    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

    Tuesday, May 8, 2012 10:15 PM

All replies

  • Hi kjp007,

    Thank you for visiting the MSDN forum. I’m afraid that it is not the correct forum about this issue, since this forum is to discuss Visual C#. I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum. Thanks for your understanding.


    Bob Shen [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, May 8, 2012 4:03 AM
  • there is no concept of document in C#. You need to specify the meaning of "document".

    From your mentioning of gridview class, I guess you are talking about ASP.Net. Note if your "print document" means the PrintDocument class in System.Drawing, read the note about ASP.Net's support of System.Drawing at http://msdn.microsoft.com/en-us/library/system.drawing.aspx.



    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

    Tuesday, May 8, 2012 10:15 PM
  • Hi..Shen Jiang

    I download print document from

    http://sourceforge.net/projects/net-rep-printer/

    and this type print document I want for my project..

    If any source material like this then please suggest me .

    Saturday, May 19, 2012 9:46 AM
  •   Thank You...

    Saturday, May 19, 2012 9:46 AM
  • That class library has a forum at http://sourceforge.net/projects/net-rep-printer/forums. But nobody post there, looks like used by nobody. You probably want to look for other component for your printing needs.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

    Saturday, May 19, 2012 3:10 PM