C# 中的 static 的用法。
public static string AppendixID="";
protected void pageload(object sender, EventArgs e)
{
}
protect void btn1_Click(object sender, EventArgs e)
{
AppendixID=DateTime.Now()+","+AppendixID.ToString();
}
public static string AppendixID="";
protected void pageload(object sender, EventArgs e)
{
}
protect void btn1_Click(object sender, EventArgs e)
{
AppendixID=DateTime.Now()+","+AppendixID.ToString();
}