DataTable 计算列
DataTable ds = dal.ExecuteDataTable(cmd, q); DataColumn col = new DataColumn("curr_cash_money", typeof(decimal)); col.Expression = "imburseoutlay-isnull(cash_money,0)"; ds.Columns.Add(col);
DataTable ds = dal.ExecuteDataTable(cmd, q); DataColumn col = new DataColumn("curr_cash_money", typeof(decimal)); col.Expression = "imburseoutlay-isnull(cash_money,0)"; ds.Columns.Add(col);