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
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What are the navigation ways between pages available in ASP.NET?
What is difference between mvc and asp.net? : Asp.Net MVC
Where sessions are stored?
What websites use asp.net?
What are themes and skins in 2.0, explain usage scenario?
What is full trust in asp.net?
How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?
What is the full meaning of asp.net?
What parameters can you pass in the url of the api? Can get and post use the same url?
What is asp.net and ado net?
Give an example of cookie abuse.
What are the advantages and disadvantages of Using Cookies?
How do we sort the data from a dataset?
Please briefly explain the usage of global.asax?