One application have three forms for registration .submit
button is at third form.after filling three forms only u
have to click submit button.After clicking the submit
button all the values in first,second& third form saved on
sql server.how to handle this situation .
Answer Posted / anand nethala
Create a class that contains properties that are mapped to
the fields in all the 3 pages.
In first page create an instance of the class and fill the
corresponding properties on the class to the fields values
in the page. and transfer the page to 2nd page using
Server.Transfer. In the second page retrieve the class
instance by using the Page.PreviousPage Property and you can
.In the same way you can do in the 3rd page and so on. when
u r saving the details to the DB..u'l have the total object
that contains all the field values in all the traversed pages.
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What is the difference between CC and BCC?
What is the typical session identifier?
How do you open a page in a new window?
Do session use cookies in asp net?
What does session_start () do?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
If we remove web.config or machine.config from the application then, is this application will works?
What are the two Layouts supported by a Web form in ASP.NET?
Give me one example of Web API Routing?
What are the features of asp net?
Explain how can you debug your .net application?
How do you identify that the page is postback?
What are the page life cycle events?
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
Is post back property in asp net?