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. Filter into Many ASP.Net Pages

Filter into Many ASP.Net Pages

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabase
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.
  • M Offline
    M Offline
    Mr Wonderful
    wrote on last edited by
    #1

    Hi All, I involved in developing a small web site. I need to filter Questions and it's answers from DataBase into asp.net pages, every page contains just 3 Questions and it's answers, and others questions will be filtered into new pages generated automaticaly according the number of Questions in the database. I need some tips or any idea or topics talking about this. all Regards Mr.Wonderful

    P N 2 Replies Last reply
    0
    • M Mr Wonderful

      Hi All, I involved in developing a small web site. I need to filter Questions and it's answers from DataBase into asp.net pages, every page contains just 3 Questions and it's answers, and others questions will be filtered into new pages generated automaticaly according the number of Questions in the database. I need some tips or any idea or topics talking about this. all Regards Mr.Wonderful

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      Why do you need to create different pages? If you are developing with ASP.NET 3.5, you could use a ListView with paging support to display questions in groups of 3 and allow the user to navigate between the groups of questions using standard paging controls.

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      N 1 Reply Last reply
      0
      • P pmarfleet

        Why do you need to create different pages? If you are developing with ASP.NET 3.5, you could use a ListView with paging support to display questions in groups of 3 and allow the user to navigate between the groups of questions using standard paging controls.

        Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        pmarfleet wrote:

        If you are developing with ASP.NET 3.5, you could...

        That's nice. Now, what if he isn't using 3.5? :rolleyes:


        only two letters away from being an asset

        P 1 Reply Last reply
        0
        • M Mr Wonderful

          Hi All, I involved in developing a small web site. I need to filter Questions and it's answers from DataBase into asp.net pages, every page contains just 3 Questions and it's answers, and others questions will be filtered into new pages generated automaticaly according the number of Questions in the database. I need some tips or any idea or topics talking about this. all Regards Mr.Wonderful

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          You could use the same control, say a Panel, to insert the text as needed. You don't really need to create separate pages. BTW: This doesn't require 3.5 ;)


          only two letters away from being an asset

          1 Reply Last reply
          0
          • N Not Active

            pmarfleet wrote:

            If you are developing with ASP.NET 3.5, you could...

            That's nice. Now, what if he isn't using 3.5? :rolleyes:


            only two letters away from being an asset

            P Offline
            P Offline
            pmarfleet
            wrote on last edited by
            #5

            Mark Nischalke wrote:

            Now, what if he isn't using 3.5?

            He didn't specify which version of the framework he was using. In the absence of this information, I would have to assume he was using the latest version, i.e. v3.5.

            Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

            M N 2 Replies Last reply
            0
            • P pmarfleet

              Mark Nischalke wrote:

              Now, what if he isn't using 3.5?

              He didn't specify which version of the framework he was using. In the absence of this information, I would have to assume he was using the latest version, i.e. v3.5.

              Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

              M Offline
              M Offline
              Mr Wonderful
              wrote on last edited by
              #6

              Wait a minute guys, don't bother. I didn't determine which version of framworke I used, because I Suppose 3.5 a new version, and many Developers (maybe) still doesn't used it including me. I still using Version 2. anyway this is a task assigned to me not my option, so if we say create panels at run time and filter just 3 Questions and it's answers into panel that will be created according the numbers of questions in run time with 2 buttons Next And Previous to navigate between panels. by the way, how we can make these buttons appears in each panel and take this answers(I mean take it's value True or False when clicking on the next button, I determine in the database the right answer), maybe we talking here about QueryStrng or similir, any help please. thanks in advanced Mr.Wonderful

              1 Reply Last reply
              0
              • P pmarfleet

                Mark Nischalke wrote:

                Now, what if he isn't using 3.5?

                He didn't specify which version of the framework he was using. In the absence of this information, I would have to assume he was using the latest version, i.e. v3.5.

                Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

                N Offline
                N Offline
                Not Active
                wrote on last edited by
                #7

                pmarfleet wrote:

                I would have to assume he was using the latest version, i.e. v3.5.

                You what they say about assuming. If you are in the business you know that the vast majority of development shops have not taken up 3.5 yet. BTW, very mature to vote down the posts because they point out your deficiencies.


                only two letters away from being an asset

                P 1 Reply Last reply
                0
                • N Not Active

                  pmarfleet wrote:

                  I would have to assume he was using the latest version, i.e. v3.5.

                  You what they say about assuming. If you are in the business you know that the vast majority of development shops have not taken up 3.5 yet. BTW, very mature to vote down the posts because they point out your deficiencies.


                  only two letters away from being an asset

                  P Offline
                  P Offline
                  pmarfleet
                  wrote on last edited by
                  #8

                  Mark Nischalke wrote:

                  If you are in the business you know that the vast majority of development shops have not taken up 3.5 yet.

                  Like I said, the OP didn't specify which version of the framework he was using. I suggested that if he was using v3.5 of the framework he could use the ListView control. This was intended to open a dialogue with the poster, where I could have explored other options if he wasn't using this version.

                  Mark Nischalke wrote:

                  BTW, very mature to vote down the posts because they point out your deficiencies.

                  I didn't vote down the posts, and I resent the accusation that I did. Maybe I'm not the only one guilty of making assumptions :|.

                  Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

                  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