How to send values from one page to another?

  • Thread starter Miguel Dias Moura
  • Start date
M

Miguel Dias Moura

Hello,

i have an ASP.net / VB page with a Script (submitValues) and a Form.

1. The form has 20 input texts and a "Submit" button.
2. The script declares 20 variables. The value of each variable is taken
from each of the 20 input texts.
3. When the button "Submit" is click the variable values are sent to an
email address using AspNetEmail.

As an example, the button code is this one:
<asp:Button ID="submit" runat="server" OnClick="submitValues"
Text="Submit"/>

What i want is to create 2 Pages:
A. Page1.aspx where i put 10 input texts.
B. Page2.aspx where i put the other 10 input texts.

When i click the button in Page1, the form values are sent to Page2.
When i click the button in Page2, the form values of Page1 (received) and
the form values of Page2 (inserted) will be sent by email using the script i
mentioned.

Can you help me out?

Thanks,
Miguel
 
C

Cor Ligthert

Hi Miguel,

Yes that is a nice simple article, as far as I can see in a glimp, does it
takes the method I told you.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top