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. how to make report using 2 parameters

how to make report using 2 parameters

Scheduled Pinned Locked Moved C#
tutorial
10 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.
  • A Offline
    A Offline
    ashraf hakiem
    wrote on last edited by
    #1

    hellow evry one i want to make windos forme contain two textbox and i have reportviwer i want if the user write two dates in the 2 text the reportviwer report the data for the employees between the two dayes ashrafhakiem mcsd certefied

    C 1 Reply Last reply
    0
    • A ashraf hakiem

      hellow evry one i want to make windos forme contain two textbox and i have reportviwer i want if the user write two dates in the 2 text the reportviwer report the data for the employees between the two dayes ashrafhakiem mcsd certefied

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      ashraf hakiem wrote:

      mcsd certefied

      OK...... Seems to me like you want a stored proc that generates a report and takes the two dates as parameters ?

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      M N A 3 Replies Last reply
      0
      • C Christian Graus

        ashraf hakiem wrote:

        mcsd certefied

        OK...... Seems to me like you want a stored proc that generates a report and takes the two dates as parameters ?

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        M Offline
        M Offline
        Muammar
        wrote on last edited by
        #3

        Christian Graus wrote:

        ashraf hakiem wrote: mcsd certefied

        X| X| .. I'm afraid in a few days, people will start pasting their resumes in the signature area!


        Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

        1 Reply Last reply
        0
        • C Christian Graus

          ashraf hakiem wrote:

          mcsd certefied

          OK...... Seems to me like you want a stored proc that generates a report and takes the two dates as parameters ?

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          N Offline
          N Offline
          Nine_
          wrote on last edited by
          #4

          i'm having same problem too. for mine, i don't know how to pass a parameter to the stored procedure since i use different query in my crystal report object.

          1 Reply Last reply
          0
          • C Christian Graus

            ashraf hakiem wrote:

            mcsd certefied

            OK...... Seems to me like you want a stored proc that generates a report and takes the two dates as parameters ?

            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

            A Offline
            A Offline
            ashraf hakiem
            wrote on last edited by
            #5

            THANKS ALOT BUT I DONT NOW HOW I CAN PASS THE PARAMETES FROM STOREDPROSEDUR TO THE REPORT ASHRAFHAKIEM

            N C 2 Replies Last reply
            0
            • A ashraf hakiem

              THANKS ALOT BUT I DONT NOW HOW I CAN PASS THE PARAMETES FROM STOREDPROSEDUR TO THE REPORT ASHRAFHAKIEM

              N Offline
              N Offline
              Nine_
              wrote on last edited by
              #6

              hi ASHRAFHAKIEM i don't understand either. let's post your question to get help againq

              1 Reply Last reply
              0
              • A ashraf hakiem

                THANKS ALOT BUT I DONT NOW HOW I CAN PASS THE PARAMETES FROM STOREDPROSEDUR TO THE REPORT ASHRAFHAKIEM

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #7

                What report viewer are you talking about ? You would call the stored proc, then pass the resultant data set to the reporting control, I would have thought.

                Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                N A 2 Replies Last reply
                0
                • C Christian Graus

                  What report viewer are you talking about ? You would call the stored proc, then pass the resultant data set to the reporting control, I would have thought.

                  Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                  N Offline
                  N Offline
                  Nine_
                  wrote on last edited by
                  #8

                  So after calling the stored proc, how to pass the result to the report control? Let's clear us more... Thanks

                  1 Reply Last reply
                  0
                  • C Christian Graus

                    What report viewer are you talking about ? You would call the stored proc, then pass the resultant data set to the reporting control, I would have thought.

                    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                    A Offline
                    A Offline
                    ashraf hakiem
                    wrote on last edited by
                    #9

                    HOW CAN I PASS IT TO THE RESULTANT DATASET TO THE REPORTING CONTROL THANKS

                    C 1 Reply Last reply
                    0
                    • A ashraf hakiem

                      HOW CAN I PASS IT TO THE RESULTANT DATASET TO THE REPORTING CONTROL THANKS

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #10

                      Can you answer my question ? What reporting control ? Crystal Reports ? I've never used it, but it took me two seconds to find the answer using google. http://www.codeproject.com/csharp/loadingcrystalreport.asp?df=100&forumid=173338&exp=0&select=1216325[^] If not, how would I know what you're using ?

                      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                      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