下面三行是我建立虚表中的三个字段
newDC = new DataColumn("new_price", System.Type.GetType("System.String"));
newDC=new DataColumn("select_Count",System.Type.GetType("System.Int32"));
newDC = new DataColumn("total_price", System.Type.GetType("System.String"));在执行下面这条语句是总是说"输入字符串格式不正确"
但我用response.write能够输出oldDR["select_Count"],oldDR["new_Price"]值,也是正确的;
oldDR["total_Price"] =(int)oldDR["select_Count"] *Int32.Parse(oldDR["new_Price"].ToString());  //计算价格
可我看没有什么错误啊,是格式转化不对吗?请高手指教,小弟先谢过了!!!