DataColumn workCol = table .Columns.Add("ID", typeof(Int32));
table .Columns.Add("UnitPrice", typeof(Double));
table .Columns.Add("Qty", typeof(Int32));
table .Columns.Add("Total", typeof(Double));
table .Columns.Add("Discount", typeof(Double));
table .Columns["Total"].Expression = "UnitPrice*Quantity";
table .Columns["Discount"].Expression = String.Format("Total*{0}",Discount);
grdData.DataSource = table ;
grdData.Update();