Professional Web Applications Themes

Entering Info on One Page, used in 2nd Page - ASP.NET General

Where can I find information about how to enter information on one page and the close it and update the input information onto the second page?...

Sponsored Links
  1. #1

    Default Entering Info on One Page, used in 2nd Page

    Where can I find information about how to enter
    information on one page and the close it and update the
    input information onto the second page?
    Sponsored Links
    Tobe Guest

  2. #2

    Default Re: Entering Info on One Page, used in 2nd Page

    Here's a nice, simple way to pass values from one page to another:
    (VB.NET code)

    'Add data to the context object before transferring
    Context.Items("myParameter") = x
    Server.Transfer("WebForm2.aspx")

    Then, in WebForm2.aspx:

    'Grab data from the context property
    Dim x as Integer = CType(Context.Items("myParameter"),Integer)

    Of course there are a number of ways to pass values from one page to
    another, such as using the querystring, cookies, session,
    context, saving to a temporary table in the database between each page, etc.
    You'll have to decide which technique is best for your application.
    Here are several good articles on the subject to help you decide.
    [url]http://msdn.microsoft.com/msdnmag/issues/03/04/ASPNETUserState/default.aspx[/url]

    [url]http://www.aspalliance.com/kenc/passval.aspx[/url]

    [url]http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=600[/url]

    [url]http://www.dotnetbips.com/displayarticle.aspx?id=79[/url]

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Tobe" <tobepvantagecontrols.com> wrote in message
    news:08e301c344a3$d28d9d00$a001280aphx.gbl...
    > Where can I find information about how to enter
    > information on one page and the close it and update the
    > input information onto the second page?

    Steve C. Orr, MCSD Guest

Similar Threads

  1. Page Info
    By Hallo@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 0
    Last Post: December 26th, 10:35 PM
  2. Page info bug strikes again!
    By gig0@adobeforums.com in forum Adobe Indesign Macintosh
    Replies: 46
    Last Post: October 25th, 09:19 PM
  3. Printing Page Info
    By mikeschneider@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 1
    Last Post: August 14th, 12:46 PM
  4. Jump to a page without entering the page number
    By marcbray@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 1
    Last Post: April 2nd, 04:06 PM
  5. Replies: 0
    Last Post: July 5th, 02:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139