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
  1. Home
  2. General Programming
  3. C#
  4. reporting issue in c# application

reporting issue in c# application

Scheduled Pinned Locked Moved C#
databasehelpquestioncsharp
2 Posts 1 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.
  • B Offline
    B Offline
    bapu2889
    wrote on last edited by
    #1

    hello i working on my assignment for win form app. there are 2 tables related. and now final part is to create crystal report i have created one report showing bill details it works fine there is no issure. now i want to display amounnt in words so i have created one class and to convert number to words and again it's working fine but i am not storing this amount in words in sql database. so in reporting how can i convert this amount in number into words? is there any way to call my numbertoword class into crystal report? or is there any tool in crystal report to do this? this is my code for loading crystal report

    public partial class InvoiceBill : Form
    {
        public InvoiceBill()
        {
            InitializeComponent();
        }
        public GenerateInvoice invRpt = new GenerateInvoice();
    
        private void InvoiceBill\_Load(object sender, EventArgs e)
        {
            sqlDataAdapter1.Fill(invoiceDS1 , "BillDetail");
            crystalReportViewer1.ReportSource = invRpt;
            invRpt.SetDataSource(invoiceDS1);
        }
    

    waiting for your kind help

    B 1 Reply Last reply
    0
    • B bapu2889

      hello i working on my assignment for win form app. there are 2 tables related. and now final part is to create crystal report i have created one report showing bill details it works fine there is no issure. now i want to display amounnt in words so i have created one class and to convert number to words and again it's working fine but i am not storing this amount in words in sql database. so in reporting how can i convert this amount in number into words? is there any way to call my numbertoword class into crystal report? or is there any tool in crystal report to do this? this is my code for loading crystal report

      public partial class InvoiceBill : Form
      {
          public InvoiceBill()
          {
              InitializeComponent();
          }
          public GenerateInvoice invRpt = new GenerateInvoice();
      
          private void InvoiceBill\_Load(object sender, EventArgs e)
          {
              sqlDataAdapter1.Fill(invoiceDS1 , "BillDetail");
              crystalReportViewer1.ReportSource = invRpt;
              invRpt.SetDataSource(invoiceDS1);
          }
      

      waiting for your kind help

      B Offline
      B Offline
      bapu2889
      wrote on last edited by
      #2

      ok it's done now there is inbult function for this in crystal report ToWord()

      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