Quote:
|
popular technique that we can follow to pass data from one form to another form
|
TBH uses the querystring mostly. Tried, true, and easy. Not secure, but then again not everything needs to be secure.
The other most common way is to cross-post or use Server.Transfer, then either read the properties and/or control values from the previous page, or read the Form collection directly.
While you can use a state-handling mechanism like Session, Cookies, Context, etc. to pass values between pages, that would be ridonkulous. Like hiring a semi to mail a letter.
Quote:
|
And another question I wanted to ask is how do we preserve form data between postbacks?
|
Umm... is it... ViewState? Do I win a prize? LOL, just kidding.
By the way -- are you studying for a test or something?