P peakcao Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-01 #1 在ASP中建立和调用Session数组的语法格式是? 请提供Javascript 和 VBscript两种脚本的语法格式 谢谢
H haoxiaobo Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-17 #2 VB我不会, C#是这样的. int [] arInt = new int[10]{0,1,2,3,4,5,6,7,8,9}; Session.Add("arint", arInt); 调用: int [] arInt; arInt = (int [])Session["arint"]; if (arInt == null) { // 错了... }
VB我不会, C#是这样的. int [] arInt = new int[10]{0,1,2,3,4,5,6,7,8,9}; Session.Add("arint", arInt); 调用: int [] arInt; arInt = (int [])Session["arint"]; if (arInt == null) { // 错了... }