难道是数据太多的原因吗,Climate表哟哟2万行

解决方案 »

  1.   

    我也遇到一样的问题了  我在客户端将控件的数据保存到Hashtable ht中
                       Hashtable ht = new Hashtable();
                       for (int j = 0; j < dt.Columns.Count; j++)
                    {
                        string cname = dt.Columns[j].ColumnName;
                        string cid = "txt" + cname;
                            
                        TextBox tb = this.Table1.FindControl(cid) as TextBox;
                        ht.Add(cid,tb.Text);        
                    }
    调试客户端时Hashtable ht中有23对值;
    可是到服务端调用时 它说“当前方法的代码已经过优化,因此无法计算表达式的值”!求高手解答