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. Visual Basic
  4. Crystal reports without using database/dataset in vb.net 2005

Crystal reports without using database/dataset in vb.net 2005

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasehelpquestion
4 Posts 3 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.
  • V Offline
    V Offline
    vilasvishu
    wrote on last edited by
    #1

    IS that possible to make Crystal reports without dataset or Database in .net 2005? IF posiible How ?can u please help?

    Vv

    J 1 Reply Last reply
    0
    • V vilasvishu

      IS that possible to make Crystal reports without dataset or Database in .net 2005? IF posiible How ?can u please help?

      Vv

      J Offline
      J Offline
      Jens Meyer
      wrote on last edited by
      #2

      What exactly do you mean with "make"? If you mean to create the template you can use xml/xsl files (see here: developerfusion[^] or see here: devarticles[^]) in order to drag and drop the content to its place in the report. If you mean "bind the data to the report" with "make" it depends on what do you want to display in the report. If you have a table of some sort to display, i dont know any other way to bring the data to the report than using DataSets or a DataBase Connection. If you want to display static data (like a single name, a single date for instance, you can use the following piece of code to insert static text into prior defined fields in the report: ReportDocument doc; doc = new ReportDocument(); doc.Load(reportFileName); ((CrystalDecisions.CrystalReports.Engine.TextObject)doc.ReportDefinition.Sections["YOUR_SECTION_NAME_WHERE_THE_FIELD_IS_LOCATED"].ReportObjects["FIELD_NAME_OF_THE_GIVEN_SECTION"]).Text = YOURNEWFIELDVALUE; I hope this helps, let me know if you still have issues... Best regards Trollpower

      V 1 Reply Last reply
      0
      • J Jens Meyer

        What exactly do you mean with "make"? If you mean to create the template you can use xml/xsl files (see here: developerfusion[^] or see here: devarticles[^]) in order to drag and drop the content to its place in the report. If you mean "bind the data to the report" with "make" it depends on what do you want to display in the report. If you have a table of some sort to display, i dont know any other way to bring the data to the report than using DataSets or a DataBase Connection. If you want to display static data (like a single name, a single date for instance, you can use the following piece of code to insert static text into prior defined fields in the report: ReportDocument doc; doc = new ReportDocument(); doc.Load(reportFileName); ((CrystalDecisions.CrystalReports.Engine.TextObject)doc.ReportDefinition.Sections["YOUR_SECTION_NAME_WHERE_THE_FIELD_IS_LOCATED"].ReportObjects["FIELD_NAME_OF_THE_GIVEN_SECTION"]).Text = YOURNEWFIELDVALUE; I hope this helps, let me know if you still have issues... Best regards Trollpower

        V Offline
        V Offline
        vilasvishu
        wrote on last edited by
        #3

        Any other way to create the report without dataset in VB.net 2005

        Vv

        D 1 Reply Last reply
        0
        • V vilasvishu

          Any other way to create the report without dataset in VB.net 2005

          Vv

          D Offline
          D Offline
          darkelv
          wrote on last edited by
          #4

          You can always create a crystal report (or any other report engines) without any datasource (DB, dataset, mdb, xml, etc) You can expose fields as parameters and set these parameters in your program.

          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