public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label Label1;
protected System.Web.UI.WebControls.Button Button1;



private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack)
{
Cache["a"]="wocaonima";
string[] x=new string[1];
x[0]="a";
CacheDependency cd=new CacheDependency(null,x);
CacheItemRemovedCallback cr=new CacheItemRemovedCallback(wocao);
Cache.Insert("b","abc",cd,DateTime.Now.AddSeconds(60), TimeSpan.Zero,CacheItemPriority.High,cr);
}
}
                private void Button1_Click(object sender, System.EventArgs e)
{
Cache["a"]="xx";

} public void wocao(String k, Object v, CacheItemRemovedReason r)
{
Label1.Text=k;
}
为什么我按了button 但label没有变化。。