Click here to Skip to main content
15,943,089 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi friends

now i am horrible situation.

i have created a smart device application .

form 1 have some text boxes i filled those columns and click the next button it moves to next form filled those and click back(<<BACK) button .those filled columns are disappearing and click next these also form2 fields are disappeared .

my question is :

i don't want loose the data .
how it s maintain data from one page to another and back also..
Richard MacCutchan 16-Jun-11 12:03pm    
And this is a "smart" application? Check what happens when you go back to the first form; do you reinitialise all your variables or are they saved somewhere?
venuchary 16-Jun-11 12:06pm    
i have stored data in a class use set n get properties
Richard MacCutchan 16-Jun-11 12:41pm    
What does that mean? If you have a technical problem then try and explain it clearly, show some code where the problem occurs. We cannot see what is on your screen let alone guess what your program is doing.
venuchary 16-Jun-11 13:04pm    
this is my sample code

Form2 f2 = new Form2();
f2.pProp = new Prop();
f2.pProp.Name = textBox1.Text; // windows application(working fine)

// smart device application

GeoPositions Objgeo = new GeoPositions();
Objgeo.ObjApmip = new Apmip();

// here i am getting problem , here object does not created

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900