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. C# and crystal report

C# and crystal report

Scheduled Pinned Locked Moved C#
csharpdatabasesysadminsecurity
6 Posts 4 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
    shabonaa
    wrote on last edited by
    #1

    hi... i'm using crystal reports with C#. I'm using an ODBC connection for the report. when trying to open the report from test machine it gives this window. ......................................... Databse login . ......................................... server name: . DataBase: . LoginID: . password: . . integrated security (checkbox) . ......................................... how can a reomve this window

    L K D 3 Replies Last reply
    0
    • S shabonaa

      hi... i'm using crystal reports with C#. I'm using an ODBC connection for the report. when trying to open the report from test machine it gives this window. ......................................... Databse login . ......................................... server name: . DataBase: . LoginID: . password: . . integrated security (checkbox) . ......................................... how can a reomve this window

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      shabonaa wrote:

      how can a reomve this window

      Click the red 'X' in the upper right corner

      led mike

      1 Reply Last reply
      0
      • S shabonaa

        hi... i'm using crystal reports with C#. I'm using an ODBC connection for the report. when trying to open the report from test machine it gives this window. ......................................... Databse login . ......................................... server name: . DataBase: . LoginID: . password: . . integrated security (checkbox) . ......................................... how can a reomve this window

        K Offline
        K Offline
        keyboard warrior
        wrote on last edited by
        #3

        Hey Shabonaa, What you need to do is programatically set that in the page load or report load event using code behinds. The only way I found to easily remove the window is to load the crytsal report in the code behind page and NOT in the .aspx Does this make sense? You should google "crystal reports c# programmatically" and sift around for something close to what you are doing.

        ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

        S 1 Reply Last reply
        0
        • K keyboard warrior

          Hey Shabonaa, What you need to do is programatically set that in the page load or report load event using code behinds. The only way I found to easily remove the window is to load the crytsal report in the code behind page and NOT in the .aspx Does this make sense? You should google "crystal reports c# programmatically" and sift around for something close to what you are doing.

          ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

          S Offline
          S Offline
          shabonaa
          wrote on last edited by
          #4

          i'm using a windows application. not asp

          K 1 Reply Last reply
          0
          • S shabonaa

            i'm using a windows application. not asp

            K Offline
            K Offline
            keyboard warrior
            wrote on last edited by
            #5

            hmmm. should still be doing it programmatically then. you should still be loading up the report and passing logon credentials through the C# code. if not in a code behind, then in a class file. but you will have to do it that way. You should google "crystal reports c# programmatically" and sift around for something close to what you are doing.

            ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

            modified on Tuesday, May 20, 2008 6:16 PM

            1 Reply Last reply
            0
            • S shabonaa

              hi... i'm using crystal reports with C#. I'm using an ODBC connection for the report. when trying to open the report from test machine it gives this window. ......................................... Databse login . ......................................... server name: . DataBase: . LoginID: . password: . . integrated security (checkbox) . ......................................... how can a reomve this window

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

              You have to provide the login information (programmatically), even though you have done that in the Crystal Report designer.

              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