Click here to Skip to main content
12,830,700 members (43,985 online)
Click here to Skip to main content

Stats

71K views
825 downloads
38 bookmarked
Posted 30 Jun 2009

Access ViewState Across Pages

, 30 Jun 2009 CPOL
This article demonstrates how we can share ViewState across pages
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AccessViewState.aspx.cs" Inherits="AccessViewState" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Acessing View State</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </div>
    </form>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Talking Dotnet
Technical Lead
India India
I am an experienced Software Developer with 8+ years of hands-on experience working with Microsoft .NET technology (ASP.NET, C#, VB.NET,SQL Server).

Visit Talking Dotnet
Read Difference between Angular 1.x and Angular 2
For ASP.NET Core, read ASP.NET Core Articles
For Entity Framework Core, read Entity Framework Core Articles

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170326.1 | Last Updated 30 Jun 2009
Article Copyright 2009 by Talking Dotnet
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid