473,466 Members | 1,394 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

transfer of data between forms

1 New Member
hii, i am doing a web application ..in first form i have a textbox (txtplotno) and a button (get) ..in second form i need to display all the details of the plotno which is given in first form.my quesion is:

how to send the (plotno) textbox data to the second form to display the details?

plese help me..
thanks in advance
Dec 11 '07 #1
3 1267
dip_developer
648 Recognized Expert Contributor
hii, i am doing a web application ..in first form i have a textbox (txtplotno) and a button (get) ..in second form i need to display all the details of the plotno which is given in first form.my quesion is:

how to send the (plotno) textbox data to the second form to display the details?

plese help me..
thanks in advance
store the plotno in a Session variable...you can access it in the other page....

Otherwise you can use Querystring to pass your information across pages.

if you dont know about Querystring or Session then use GOOGLE

besides these two other methods are there also......
Dec 11 '07 #2
saintleo
2 New Member
Hi Sarvari,

Explaining further on dip_developers reply, using a session variable is as easy as this:

Expand|Select|Wrap|Line Numbers
  1. Session["variableName"] = textBox1.Text;
It should be noted though that session variables use precious server resources. An alternative, in case the user reaches the second form from the first, you could dynamically generate a link to redirect the user to the second form with the value from your text box as a query string value.

Expand|Select|Wrap|Line Numbers
  1. Response.Redirect("form2.aspx?variableName=" + textBox1.Text);
Dec 11 '07 #3
debasisdas
8,127 Recognized Expert Expert
You need to store the value from the textbox in a session variable.
Dec 11 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: allyn44 | last post by:
Hello, I have a form that I need to transfer some of the info into a second form based on a different query. The Id field is the same for data sources for both forms, but are based on...
11
by: Alexander Bosch | last post by:
Hi, I'm having a problem similar to the one that's stated in this KB http://support.microsoft.com/default.aspx?scid=kb;en-us;839521 When I'm posting a page to itself with the bool value as true it...
3
by: Ken Varn | last post by:
I have Page1 that does a transfer to page2. When the user is done with Page2, there is a button on Page2 that they can press to bring them back to Page1. I use Server.Transfer to navigate from...
5
by: aure_bobo | last post by:
Hi all, I'm currently developing a system with several webapps in ASP.NET/C#. One of my website is used to login user : I will call this website Webapp1. Depending on the user attributes, I...
3
by: imrantbd | last post by:
This is my first problem.Please help me. I have the following code: <head> <script language="JavaScript"> function addSrcToDestList() { destList1 = window.document.forms.destList; srcList...
3
by: imrantbd | last post by:
I need array type name like "destList" must use for my destlist select box,not a single name.Or need a solution to capture multiple value of "destList" select box and send all selected value in php...
1
by: jcnone | last post by:
Can anyone help me to transfer data results from a SQL query to input forms on a web page using vba or whatever will work. I work on a web page with forms that I need to populate with data. The...
1
by: indirareddy | last post by:
Hai this is indira reddy ....... this is big proublem how to transfer Data one registration form to at time 40 other registration forms......are u not understanding.....i explain once...
1
by: sycryc | last post by:
Here's my Q. I have a form in which users fill in text boxes and select checkboxes. After the form is completed, the user clicks the submit button which then transfers all to a word for editing,...
0
by: gjones | last post by:
I have an Oracle Forms application and I want to populate an Excel spreadsheet with some data from the application. I am using the DDE.Poke command to transfer data into the spredsheet and that is...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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
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
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 ...

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.