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. Web Development
  3. ASP.NET
  4. cant access crystal report in asp.net

cant access crystal report in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadmin
8 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.
  • S Offline
    S Offline
    Slick69
    wrote on last edited by
    #1

    i added a crystal report to my asp.net.. but when i try create an object i cant access it i want to say: CrystalReport objRpt = new CrystalReport (); But i cant do this.. ended up using this code: ReportDocument rpt = new ReportDocument(); string reportPath = Server.MapPath("CrystalReport .rpt"); rpt.Load(reportPath); rpt.SetDataSource(ds); CrystalReportViewer.ReportSource = rpt; CrystalReportViewer.DataBind(); CrystalReportViewer.Visible = true; CrystalReportViewer.HasExportButton=true; Thanks

    B 1 Reply Last reply
    0
    • S Slick69

      i added a crystal report to my asp.net.. but when i try create an object i cant access it i want to say: CrystalReport objRpt = new CrystalReport (); But i cant do this.. ended up using this code: ReportDocument rpt = new ReportDocument(); string reportPath = Server.MapPath("CrystalReport .rpt"); rpt.Load(reportPath); rpt.SetDataSource(ds); CrystalReportViewer.ReportSource = rpt; CrystalReportViewer.DataBind(); CrystalReportViewer.Visible = true; CrystalReportViewer.HasExportButton=true; Thanks

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

      And your question is?


      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

      P 1 Reply Last reply
      0
      • B Blue_Boy

        And your question is?


        I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Your guess is as good as anyone's about any question in that OP...

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

        B 1 Reply Last reply
        0
        • P Paul Conrad

          Your guess is as good as anyone's about any question in that OP...

          "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

          B Offline
          B Offline
          Blue_Boy
          wrote on last edited by
          #4

          In his/her post I didn't get idea what is the question.


          I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

          S 1 Reply Last reply
          0
          • B Blue_Boy

            In his/her post I didn't get idea what is the question.


            I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

            S Offline
            S Offline
            Slick69
            wrote on last edited by
            #5

            My question is seeing as ive tried every possible solution to display report in asp.net and its not working. can someone please help me out by providing me with a solution..

            B P 2 Replies Last reply
            0
            • S Slick69

              My question is seeing as ive tried every possible solution to display report in asp.net and its not working. can someone please help me out by providing me with a solution..

              B Offline
              B Offline
              Blue_Boy
              wrote on last edited by
              #6

              Do you get any error message? Does component CrystalReportViewer1 is empty when you provide datasoruce?


              I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

              S 1 Reply Last reply
              0
              • B Blue_Boy

                Do you get any error message? Does component CrystalReportViewer1 is empty when you provide datasoruce?


                I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

                S Offline
                S Offline
                Slick69
                wrote on last edited by
                #7

                no i dont get any error message.. it just shows the reportviewer with the empty textboxes, asking me to enter the values and even when i do enter them nohting happens.

                1 Reply Last reply
                0
                • S Slick69

                  My question is seeing as ive tried every possible solution to display report in asp.net and its not working. can someone please help me out by providing me with a solution..

                  P Offline
                  P Offline
                  Paul Conrad
                  wrote on last edited by
                  #8

                  Just dumping code up there without any real description of any error message isn't too helpful.

                  "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                  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