标签: c#
DataTable tblnew; tblnew= dataSet.Tables[0]; // Declare an object variable. object sumObject; sumObject = tblnew.Compute("Sum(Debit)", ""); Label lbl = new Label(); lbl.Text = sumObject.ToString();
错误:聚合函数Sum()和Type:String的使用无效。