代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->在服务器端page_loadAjaxPro.Utility.RegisterTypeForAjax(typeof(test));this.Button_Write.Attributes.Add("onclick","WriteSession();");//写sessionthis.Button_Read.Attributes.Add("on Read More