I’m using a select statement to get an array output, however, I’m having difficulty setting a format for decimal.
var_temp_dt.AsEnumerable().Select(Function (a) a.Field(Of String)(“Invoice”).ToString+“_”+
a.Field(Of Double)(“AMOUNT”).ToString).ToArray()
If you dont want to round off the value checkout this expression @Dmitri00007
(From D in Dt.AsEnumerable Let x=d(0).ToString+"_"+System.Text.RegularExpressions.Regex.Match(System.Text.RegularExpressions.Regex.Replace(d(1).ToString,"\,","").ToString,"\d+\.\d{2}").ToString select x).ToArray