Pass Values Between ASP.NET Pages

It’s might useful for beginner who start working with asp.net webpage.

You can pass information between pages in various ways, some of which depend on how the redirection occurs. The following options are available even if the source page is in a different ASP.NET Web application from the target page, or if the source page is not an ASP.NET Web page:

  • Use a query string.
  • Get HTTP POST information from the source page.

The following options are available only when the source and target pages are in the same ASP.NET Web application.

  • Use session state.
  • Create public properties in the source page and access the property values in the target page.
  • Get control information in the target page from controls in the source page.

A Visual Studio Web application project with source code is available here: Download

Happy programming!

By សុភ័ណ្ឌ Posted in គ្មាន​ចំណាត់ក្រុម

2 comments on “Pass Values Between ASP.NET Pages

ឆ្លើយ​តប

Fill in your details below or click an icon to log in:

ឡូហ្កូ WordPress.com

You are commenting using your WordPress.com account. Log Out / ផ្លាស់ប្តូរ )

រូបភាព​ពី Twitter

You are commenting using your Twitter account. Log Out / ផ្លាស់ប្តូរ )

រូបថត Facebook

You are commenting using your Facebook account. Log Out / ផ្លាស់ប្តូរ )

កំពុង​ភ្ជាប់​ទៅ​កាន់ %s