Dim sum As Double sum = dt.Compute("SUM(PU)", "") MsgBox(sum)
Dim sum As Object sum = dt.Compute("Sum(PU)", "") MsgBox(sum.ToString)
DataColumn dtc = dt.Columns["PU"]; dtc.DataType = System.Type.GetType("System.Double");
dt.Columns.Add("PU", GetType(Double))
","
"."
CultureInfo culture = CultureInfo.InvariantCulture; CultureInfo.DefaultThreadCurrentCulture = culture; CultureInfo.DefaultThreadCurrentUICulture = culture; Thread.CurrentThread.CurrentCulture = culture; Thread.CurrentThread.CurrentUICulture = culture;
Nrow("PU") = CDbl(TxtVals(3))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)