column = new DataColumn(); column.DataType = Type.GetType("System.Double"); column.ColumnName = "Total"; ds.Tables[0].Columns.Add(column); ds.Tables[0].Columns["Total"].Expression = "UnitPrice * Quantity";
OnLeave
Total
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)