Lab Report - System Status Panel

This lab demonstrates a simple ASP.NET Web Forms application that displays a system value using a hidden field and a button click event.

Files Overview

Code Files

Default.aspx

This file contains the HTML structure, CSS styles, and ASP.NET controls for the web page.


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>




    System Status Panel
    


    
System Status Panel

Default.aspx.vb

This file contains the VB.NET code-behind logic for handling the button click event.


Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub btnShowW_Click(sender As Object, e As EventArgs)
        lblResult.Text = "System value (W) is: " & HiddenFieldW.Value
    End Sub
End Class

        
Web hosting by Somee.com