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. passing value from one page to another....

passing value from one page to another....

Scheduled Pinned Locked Moved ASP.NET
help
13 Posts 5 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.
  • P Offline
    P Offline
    P_Elza
    wrote on last edited by
    #1

    Hi friends.... plz help me todo this... i have a text value in a text field in page 1. i want to display the same value in page 2.how is it possible... plz help me to do this...

    N P C S 4 Replies Last reply
    0
    • P P_Elza

      Hi friends.... plz help me todo this... i have a text value in a text field in page 1. i want to display the same value in page 2.how is it possible... plz help me to do this...

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      1 - If your textbox value is not sensitive, pass it through query string 2 - Use sessions 3 - use cross page post feature

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      1 Reply Last reply
      0
      • P P_Elza

        Hi friends.... plz help me todo this... i have a text value in a text field in page 1. i want to display the same value in page 2.how is it possible... plz help me to do this...

        P Offline
        P Offline
        P_Elza
        wrote on last edited by
        #3

        i cant use query string.... i want to capture it from the page to label...

        C 1 Reply Last reply
        0
        • P P_Elza

          Hi friends.... plz help me todo this... i have a text value in a text field in page 1. i want to display the same value in page 2.how is it possible... plz help me to do this...

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

          You can pass values on the URL, do a cross page postback, or store values in the session. If you don't know what any of those things mean, you should buy an ASP.NET book and work through it.

          Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          1 Reply Last reply
          0
          • P P_Elza

            i cant use query string.... i want to capture it from the page to label...

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

            P_Elza wrote:

            i cant use query string....

            Why not ? In that case, you have the session, or cross page postbacks. Cross page postbacks suck, I'd avoid them.

            Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            1 Reply Last reply
            0
            • P P_Elza

              Hi friends.... plz help me todo this... i have a text value in a text field in page 1. i want to display the same value in page 2.how is it possible... plz help me to do this...

              S Offline
              S Offline
              Sun Rays
              wrote on last edited by
              #6

              Hi, see my articles. You can get desire from that.

              Thanks, Sun Rays To get something you must have to try once. My Articles

              N P 2 Replies Last reply
              0
              • S Sun Rays

                Hi, see my articles. You can get desire from that.

                Thanks, Sun Rays To get something you must have to try once. My Articles

                N Offline
                N Offline
                N a v a n e e t h
                wrote on last edited by
                #7

                Sun Rays i, see my articles. You can get desire from that.

                I don't think so. Because it contain nothing :((

                All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                S 1 Reply Last reply
                0
                • S Sun Rays

                  Hi, see my articles. You can get desire from that.

                  Thanks, Sun Rays To get something you must have to try once. My Articles

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

                  thanks Sun rays... but one prob. am using .net 2003. There "Page.PreviousPage" is not found.... ie. Defnition for Page.PreviousPage is not there. i've used the Namespace: "System.Web.UI" also...

                  1 Reply Last reply
                  0
                  • N N a v a n e e t h

                    Sun Rays i, see my articles. You can get desire from that.

                    I don't think so. Because it contain nothing :((

                    All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                    S Offline
                    S Offline
                    Sun Rays
                    wrote on last edited by
                    #9

                    Hi,

                    N a v a n e e t h wrote:

                    I don't think so. Because it contain nothing

                    So better you switched off codeproject. I am here to help people. If you have any problem then sleep.. :zzz: :zzz: :zzz: :laugh: :laugh: :laugh: :laugh:

                    Thanks, Sun Rays To get something you must have to try once. My Articles

                    N 1 Reply Last reply
                    0
                    • S Sun Rays

                      Hi,

                      N a v a n e e t h wrote:

                      I don't think so. Because it contain nothing

                      So better you switched off codeproject. I am here to help people. If you have any problem then sleep.. :zzz: :zzz: :zzz: :laugh: :laugh: :laugh: :laugh:

                      Thanks, Sun Rays To get something you must have to try once. My Articles

                      N Offline
                      N Offline
                      N a v a n e e t h
                      wrote on last edited by
                      #10

                      Sun Rays am here to help people.

                      This is not the way of helping, it's redirecting the person to wrong way !

                      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                      S 1 Reply Last reply
                      0
                      • N N a v a n e e t h

                        Sun Rays am here to help people.

                        This is not the way of helping, it's redirecting the person to wrong way !

                        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                        S Offline
                        S Offline
                        Sun Rays
                        wrote on last edited by
                        #11

                        Hello Mr,

                        N a v a n e e t h wrote:

                        it's redirecting the person to wrong way !

                        It seems that you are too too :confused: So better you start your work. Dont interfere in other's work.

                        Thanks, Sun Rays To get something you must have to try once. My Articles

                        M 1 Reply Last reply
                        0
                        • S Sun Rays

                          Hello Mr,

                          N a v a n e e t h wrote:

                          it's redirecting the person to wrong way !

                          It seems that you are too too :confused: So better you start your work. Dont interfere in other's work.

                          Thanks, Sun Rays To get something you must have to try once. My Articles

                          M Offline
                          M Offline
                          Michael Sync
                          wrote on last edited by
                          #12

                          Sun Rays t seems that you are too too

                          No. he isn't. BTW, I have checked your profile page. The popularity of your articles are less than 1.5.. How did you manage to get this? :^)

                          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

                          S 1 Reply Last reply
                          0
                          • M Michael Sync

                            Sun Rays t seems that you are too too

                            No. he isn't. BTW, I have checked your profile page. The popularity of your articles are less than 1.5.. How did you manage to get this? :^)

                            Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

                            S Offline
                            S Offline
                            Sun Rays
                            wrote on last edited by
                            #13

                            Hi, I didnt concern about popularity of articles. I just wanna help people who are facing problems and coming here at Code Project. BTW thanks you all... Will see whats next now... :laugh:

                            Thanks, Sun Rays To get something you must have to try once. My Articles

                            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