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


Please Help Members By Posting Answers For Below Questions

Explain about secure socket layer?

528


Explain Areas in MVC?

656


What is the difference between CLICK and MOUSE DOWN Event ?

587


Distinguish between Server-side and Client-side code?

555


What are the different authentication modes in asp.net?

520






Why we use asp.net for website development?

501


Can you explain architecture of your project ?

619


What can you do with asp.net?

519


What do you mean by caching in asp.net?

552


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

5693


How does exception management works in ASP.NET?

620


What are main return types supported in Web API?

750


About CLR, reflection and assemblies?

1548


What are resource file and how do we generate resource file?

570


What are the Types of chaching. How to implement caching

564