using values of one page into another page

Last post 11-28-2008 7:01 AM by ukr. 3 replies.

Sort Posts:

  • using values of one page into another page

    11-28-2008, 4:23 AM
    • Member
      point Member
    • s.nassu
    • Member since 11-01-2008, 10:00 AM
    • malaysia
    • Posts 7

    Hi

    I have two pages. the first page contains 30 fields and i want to use that 30  fields values in second page. so i have to pass 30 values to second page without storing into database.

    How? which is the best way ?

    can i use session()?

     

  • Re: using values of one page into another page

    11-28-2008, 6:43 AM
    • All-Star
      90,149 point All-Star
    • SGWellens
    • Member since 01-02-2007, 4:27 PM
    • Twin Cities, MN
    • Posts 7,356
    • Moderator
      TrustedFriends-MVPs
  • Re: using values of one page into another page

    11-28-2008, 6:54 AM
    Answer
    • All-Star
      20,844 point All-Star
    • venkatu2005
    • Member since 07-01-2008, 6:48 AM
    • Posts 4,536

     Hai

     Better use CrossPagePosting Check it.

     http://www.beansoftware.com/ASP.NET-Tutorials/Cross-Page-Posting.aspx

    I have Changed My Blog from (http://venkat-dotnetsamples.blogspot.com) to (http://venkat-dotnetsnippets.blogspot.com)

    Regards,
    Venkatesan.M

    Please Mark as Answered If its helpful and Un-Mark as Answered if it not help u.
  • Re: using values of one page into another page

    11-28-2008, 7:01 AM
    Answer
    • Participant
      822 point Participant
    • ukr
    • Member since 11-24-2008, 8:22 AM
    • Posts 155
    Hello,

    Here is one way of accessing the previous page controls values in ASP.NET 2.0...

    "http://msdn.microsoft.com/en-us/library/ms178139(VS.80).aspx"

    But in this case, only the values of the Previous Page controls will be accessible and not the variables / inner values of the pages.... If you need them also you may go for the values to be stored in an ArrayList / HasTable and then store that ArrayList / HasTable into a single session.... Check which suits your requirement and opt for them
    ukr

    Mark this as Answer if it helps you, As some other might get the solution quickly...!
Page 1 of 1 (4 items)