行 103: //用数据控件绑定购物车中商品 行 104: mylist.DataSource=cart.getitems(cartid); 行 105: mylist.DataBind(); 行 106: //更新总价标签 行 107: lbltotal.Text=String.Format("{0:c}",cart.gettotal(cartid));
[InvalidOperationException: 阅读器关闭时 FieldCount 的尝试无效。] System.Data.SqlClient.SqlDataReader.get_FieldCount() +71 System.Data.Common.DbEnumerator.BuildSchemaInfo() +24 System.Data.Common.DbEnumerator.MoveNext() +20 System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) +1445 System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +49 System.Web.UI.WebControls.BaseDataList.DataBind() +23 store.shoppingcart.populateshoppingcartlist() in e:\ceshi\store\shoppingcart.aspx.cs:105 store.shoppingcart.Page_Load(Object sender, EventArgs e) in e:\ceshi\store\shoppingcart.aspx.cs:34 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750
怎么没有人回复啊
555555555555555555