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 behavior of a Web browser when it receives an invalid element?
How can we implement a identity (sql server) call in an asp.net page?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is difference between abstract class and an interface?
What is the caspol.exe tool used for?
Difference between overriding and overloading?
What is the difference between CC and BCC?
Explain the difference between server control and html control.
Where can I get the details on migration of existing projects using various technologies to asp.net?
Explain exception handling in .net.
Explain the difference between an exe and a dll?
Give an example of cookie abuse.
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
What is the usage of DelegatingHandler?
How many types of validation are there?