473,493 Members | 2,229 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Collecting Data on one form and outputing it on another form

* I need to collect the input data on example1.aspx by hitting the review button.
* Out put the data in the corresponding Labels on Example2.aspx.
* Save Example2.aspx to a File of the users choice when the save button is clicked
* I USE WebMatrix

Example1.aspx:
<%@ Page Language="VB" %>
<script runat="server">

'I have tried all kinds of things:
'Server.Transfer("Example2.aspx", True)

</script>
<html>
<head>
</head>
<body>
<form runat="server" ID="frmForm1">
<p>
&nbsp;
</p>
<p>
<asp:Label id="lblFirstName" runat="server">First Name</asp:Label>
<asp:TextBox id="txtFirstName" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label id="lblLastName" runat="server">Last Name</asp:Label>
<asp:TextBox id="txtLastName" runat="server"></asp:TextBox>
</p>
<p align="left">
<asp:Button id="btnReview" runat="server" Text="Review"></asp:Button>
</p>
<!-- Insert content here -->
</form>
</body>
</html>

Example2.aspx:
<%@ Page Language="VB" %>
<script runat="server">

</script>
<html>
<head>
</head>
<body>
<form runat="server" ID="frmForm2">
<p>
&nbsp;
</p>
<p>
First&nbsp;Name is:
<asp:Label id="lblFirstName" runat="server"></asp:Label>
</p>
<p>
Last Name is:<asp:Label id="lblLastName" runat="server"></asp:Label>
</p>
<p>
<asp:Button id="btnSave" runat="server" Text="Save"></asp:Button>
</p>
<!-- Insert content here -->
</form>
</body>
</html>

--
Message posted via http://www.dotnetmonster.com
Nov 19 '05 #1
0 1033

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1462
by: serge calderara | last post by:
dear all, I am building an application which is collecting data from a database and display them in a windows form. My idea is to collect those data in a form that, they can be read by my...
1
2566
by: Mike Kingscott | last post by:
Hi all, I have an app that allows users to upload files to my site, and then download them at a later date. Once the files have been safely uploaded, I wish to give them a download code to...
2
1032
by: David | last post by:
Sorry about the previous question. The thing I am really trying to do is collecting HTML id's on a given form. As you may know, ASP.NET control ids do not necessarily match html control names...
5
1487
by: antonyliu2002 | last post by:
I have 4 forms each on a separate page respectively form1.aspx, form2.aspx, form3.aspx, form4.aspx. On top of each of the four pages there are 4 links which link to the aforementioned 4 pages...
12
2128
by: pmclinn | last post by:
How would you access a cookie value from a windowsform? This is how I do it from asp.net: If Not Request.Cookies("RunNodeReport") Is Nothing Then ...
0
338
by: Antal Rutz | last post by:
Hi all, I'd like to collect snmp data from varoius network devices parallel. First I tried with my own threadpool class then I gave a try to Christopher Arndt's threadpool.py...
17
5023
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also...
1
1516
by: Bob Alston | last post by:
Looking for design approach ideas for collecting data from multiple remote, standalone databases. I have built one of these in Access. Another I am told was built in Access. some others the...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5453
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1400
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
644
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
285
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.