Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9115221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T04:22:46+00:00 2026-06-17T04:22:46+00:00

I used in Delphi QuickReport to create reports and print. What can I use

  • 0

I used in Delphi QuickReport to create reports and print. What can I use to do this in .NET C#?

I added some reporting elements (Microsoft reports and Crystal reports) to my project (Winforms app), but what I saw, is that I can only insert data from a Database. What I want, is to use the values of objects created in runtime. This is because my reports actually consists of receipts and invoices.

Which is the best tool to use for my need?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T04:22:47+00:00Added an answer on June 17, 2026 at 4:22 am

    You can use the built in reports to generate nice reports wihtout requiring a database.

    Create a class for your data, in my case, I am going to create a person class:

    class Person
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string AddressLine1 { get; set; }
        public string AddressLine2 { get; set; }
    }
    
    • Next I am going to add a report using the report wizard (Add New Item -> Reporting -> Report Wizard).

    • For the datasource, I am going to select Object and then point it to my Person class. Datasource from a class

    • Select the columns you want for your details, I am just dragging all of them into the values for simplicity.

    Report Wizard Fields

    • Walk through the rest of the wizard just selecting the defaults and you should then see your report.

    • Now you can add a ReportViewer control to a form and set the report to the report you just created. This should create a PersonBindingSource on your form as well.

    • Set the PersonBindingSource’s data to a list in memory:

      BindingList<Person> myPeople = new BindingList<Person>();
      myPeople.Add(new Person() { FirstName = "John" , LastName = "Doe"});
      myPeople.Add(new Person() { FirstName = "Jane" , LastName = "Doe"});
      myPeople.Add(new Person() { FirstName = "Jerry" , LastName = "Smithers" });
      
      PersonBindingSource.DataSource = myPeople;
      reportViewer1.RefreshReport();
      this.reportViewer1.RefreshReport();
      

    With the final report looking like this:

    Final Report

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used this tutorial http://delphi.about.com/od/kbthread/a/thread-gui.htm to create a class that asynchronously downloads a file
I used to use this function to convert hex string to string in Delphi
Virtual method interception - introduced with Delphi XE - can be used to 'proxify'
Exist a .net class equivalent to the TTimer delphi component? TTimer is used to
i have used IXMLDocument in delphi to create an XML File, i need to
The following code used to compile with Delphi 2007: constructor TMyFile.Create(const _Filename: string); begin
I used to able to do this using plain delphi buttons: In the First
i'm trying to create a C# COM Server which is used by a Delphi
Has anyone successfully used the AJAX-enabled ASP.NET Web Application wizard in Delphi 2007 to
Im delphi programmer and used to use Java quite a bit a long while

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.