...

View Full Version : How do you get data from one form to a label in another form?



pansylea
10-17-2008, 09:31 PM
I am just wondering how you get data from one form into a label in another form??

AlexV
10-17-2008, 09:55 PM
Can you be more specific?

I'm guessing you are speaking in an HTML document?

I'll put something like:

var myInput = document.getElementById('some_input_id');
var myDestination = document.getElementById('destination_id');
myDestination.innerHTML = myInput.value;
in some event (like "onblur").

Yeah, innerHTML is not best way to do it, but let's keep it simple since i'm not even sure you want to do this in JavaScript ;)

pansylea
10-17-2008, 09:59 PM
Is in Mircosoft Visual Studio in c# (cSharp)

pansylea
10-18-2008, 01:50 PM
In my program i wish to enter information on the first coulple of forms and then display the data in labels on the last form for confirmation.

In other words i want to retrieve multiple data from multiple forms to the last form but dont know how.

HELP PLEASE!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum