(2)用記事本ooooo.aspx.cs存成unicode內容如下:
using System;
using System.Web;
public partial class ooooo:System.Web.UI.Page
{
public void Page_Load(object xxx,EventArgs e)
{
lb.Text="h#llo World!";
}
}
(3)兩個檔案放在一起
(4)用VS2005讀入ooooo.aspx
(5)按ctrl+shift+w就行了.
(6)要看清楚,跟code-behind比起來簡單很多,不用宣告一堆控件.