Results 1 to 5 of 5

Thread: can an entire dataset be displayed in a richtextbox?[RESOLVED]

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2002
    Posts
    54

    Question can an entire dataset be displayed in a richtextbox?[RESOLVED]

    I am using an OleDbParameter to display a dynamic query. Right now I am using a datagrid to display the results. Works great. The only problem is it won't print multiple pages (at least I can't figure it out). I know how to bind an object to a particular column in a dataset, but is it possible to display the query in a richtextbox? Someone please advise........
    Last edited by Nintendo_Wizard; Jan 16th, 2003 at 12:15 PM.

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    It seems that you like to have a tabular report of your dataset, so why not using a print routine like this

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2002
    Posts
    54
    Hey Lunatic3! A tabular report is exactly what I want. Can I use a richtextbox to do this? If not, whats the best method to display the query.(& print it)?

  4. #4
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    I already posted the link in previous reply, or you may also try Code Samples for "Printing Reports in Windows Forms" provided by Microsoft.

  5. #5

    Thread Starter
    Member
    Join Date
    Dec 2002
    Posts
    54
    Thanks for your help. I been all over microsofts web sites trying to find the solution to this problem, including the links you gave me. Guess I'll keep looking. Later..

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