03. Understanding More about Events and PostBack
2006-08-27 23:33
477 查看
In this lesson, you will learn how events can be used in your code, and how to react when those events occur.
Global.asax
</script>
default.aspx(显示数据)
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Write("UserCount:" + Application.Get("userCount"));
}
}
但是不知道为什么不会执行Session_End事件.
Global.asax
</script>
default.aspx(显示数据)
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Write("UserCount:" + Application.Get("userCount"));
}
}
但是不知道为什么不会执行Session_End事件.
相关文章推荐
- Caliburn Micro Part 3: More About Events and Parameters
- 【3】More About Jobs and Job Details
- Know more about RAC statistics and wait event
- Know More About LC And SC Fiber Patch Cable
- Know more about RAC statistics and wait event
- Know More About Libarary Cache and Latches
- 第十二天(Understanding and Using Events in Sencha Touch)
- Know more about the organization of solution and project
- Know more about RAC statistics and wait event
- Know more about Buffer Cache and Latch
- Lesson 3: More About Jobs and Job Details
- Know more about redo log buffer and latches
- more interesting new about IOS and Android
- Know More About Libarary Cache and Latches
- Understanding about numerical stability, convergence and consistency
- Lesson 3: More About Jobs and Job Details
- more detail about adb shell start, stop and reboot
- Page Events: Order and PostBack
- Know more about Buffer Cache and Latch
- Know more about RAC statistics and wait event