Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the behavior of a Web browser when it receives an invalid element?

1061


How can we implement a identity (sql server) call in an asp.net page?

964


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

954


What is difference between abstract class and an interface?

903


What is the caspol.exe tool used for?

970


Difference between overriding and overloading?

1179


What is the difference between CC and BCC?

1010


Explain the difference between server control and html control.

882


Where can I get the details on migration of existing projects using various technologies to asp.net?

1006


Explain exception handling in .net.

1015


Explain the difference between an exe and a dll?

960


Give an example of cookie abuse.

1023


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

985


What is the usage of DelegatingHandler?

1017


How many types of validation are there?

903