<! Doctype HTML public "-// W3C // dtd html 4.0 transitional // en">
<HTML>
<Head>
<Title> webform1 </title>
<Meta name = "generator" content = "Microsoft Visual Studio. NET 7.1">
<Meta name = "code_language" content = "C #">
<Meta name = "vs_defaultclientscript" content = "JavaScript">
<Meta name = "vs_targetschema" content = "http://schemas.microsoft.com/intellisense/ie5">
</Head>
<Body ms_positioning = "gridlayout">
<Form ID = "form1" method = "Post" runat = "server">
<Asp: button id = "button1" style = "Z-INDEX: 101; left: 320px; position: absolute; top: 128px" runat = "server"
TEXT = "button"> </ASP: button>
<Asp: Label id = "label1" style = "Z-INDEX: 102; left: pixel PX; position: absolute; top: 56px" runat = "server"> label </ASP: label>
<Asp: button id = "button2" style = "Z-INDEX: 103; left: 232px; position: absolute; top: 128px" runat = "server"
TEXT = "button"> </ASP: button> <input style = "Z-INDEX: 104; left: 360px; position: absolute; top: 208px" type = "button"
Value = "button" id = "button3" onclick = "KK ()">
<Input name = "button1" type = "hidden" value = "button">
<SCRIPT>
Function kk ()
{
Window. setTimeout ("kk2 ()", 1000 );
}
Function kk2 ()
{
Form1.submit ();
}
</SCRIPT>
</Form>
</Body>
</Html>
Using system;
Using system. collections;
Using system. componentmodel;
Using system. Data;
Using system. drawing;
Using system. Web;
Using system. Web. sessionstate;
Using system. Web. UI;
Using system. Web. UI. webcontrols;
Using system. Web. UI. htmlcontrols;
Namespace booksir. iagent. webapp
{
/// <Summary>
/// Summary of webform1.
/// </Summary>
Public class webform1: system. Web. UI. Page
{
Protected system. Web. UI. webcontrols. Label label1;
Protected system. Web. UI. webcontrols. Button button2;
Protected system. Web. UI. webcontrols. Button button1;
Private void page_load (Object sender, system. eventargs E)
{
// Place user code here to initialize the page
}
# Code generated by region web Form Designer
Override protected void oninit (eventargs E)
{
//
// Codegen: This call is required by the ASP. NET web form designer.
//
Initializecomponent ();
Base. oninit (E );
}
/// <Summary>
/// The designer supports the required methods-do not use the code editor to modify
/// Content of this method.
/// </Summary>
Private void initializecomponent ()
{
This. button1.click + = new system. eventhandler (this. button#click );
This. Load + = new system. eventhandler (this. page_load );
}
# Endregion
Private void button#click (Object sender, system. eventargs E)
{
Label1.text = "good ";
}
}
}