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

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

10-17-2008, 08: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 ;)

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

10-18-2008, 12: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.