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
if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.
What is the use of ASP.NET routing?
Is viewstate secure?
What is s2s tracking?
What is razor? : asp.net mvc
What is the benefit of WebAPI over WCF?
Explain about Application and Session Events ?
To bind columns manually which tags do you need to add within the asp:datagrid ?
Explain weak typing and strong typing.
What is the purpose of master page?
What is event bubbling?
What is the difference between page-level caching and fragment caching?
What are httphandlers and httpmodules and difference between them?
What is masterpage?
Why we are using mvc instead of asp.net? : Asp.Net MVC