Quote:I want to remove a column from datatable the column is a part of expression I want to remove it once the expression is calculated. μ LSL USL are columns already present Lower.Expression = "(Convert(μ,'System.Double')-Convert(LSL,'System.Double'))/(3.0*sigma)"; Upper.Expression = "(Convert(USL,'System.Double')-Convert(μ,'System.Double'))/(3.0*sigma)"; CpK.Expression = "IIF(Lower < Upper, Lower, Upper)"; table1.Columns.Remove("Lower");//Exception table1.Columns.Remove("Upper");//Exception I want to remove lower and upper once the data is populated
μ LSL USL are columns already present Lower.Expression = "(Convert(μ,'System.Double')-Convert(LSL,'System.Double'))/(3.0*sigma)"; Upper.Expression = "(Convert(USL,'System.Double')-Convert(μ,'System.Double'))/(3.0*sigma)"; CpK.Expression = "IIF(Lower < Upper, Lower, Upper)"; table1.Columns.Remove("Lower");//Exception table1.Columns.Remove("Upper");//Exception
table1.Columns.Remove("Lower"); table1.Columns.Remove("Upper");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)