Dim currChar As Char
Dim data As String
Using sr As New StreamReader("C:\test.txt")
Do While sr.Peek <> -1
currChar = Chr(sr.Read)
data = data & currChar
Console.WriteLine(data)
Loop
End Using
Conversion failed when converting the nvarchar value '4500.00' to data type int.
sum(CAST(CAST(amount AS float) AS INT))
InvokeRequired asks 'Am I on the right thread?', if so carry on, else I need a delegate.