AJAX实现 in cs file:public partial class tempClass{ protected void Page_Load(object sender, EventArgs e) { //注册AJAX AjaxPro.Utility.RegisterTypeForAjax(typeof(tempClass));}[AjaxPro.AjaxMethod()] public void CreateArray(int m,int n) { char[][] str = new char[m][]; for (int i = 0; i < n; ++ i) { str[n] = new char[500]; } foreach(char ch in str){ hidField1.Vlaue=ch.ToString()+",";}}}----------in aspx file<script language="javascript" type="text/javascript">function getArr(){ TempClass.CreateArray(10,10); //获得hidField1的值,分割逗号,循环打出.时间关系到此为止,未测代码}