For example:
If the values are negative in red color, positive in green.
ListView1.Items(ListView1.Items.Count - 1).SubItems.Add(CDbl(reader("Close").ToString) - (reader("Open").ToString))
Also, I am having a problem on rounding the decimal place value on the above code.
For example:
If the result comes out xx.xx, then the my lv shows the value as xx.xxxxxxxxx. Actually I would like it to display only 2 decimal places.
Thank you for your help!

New Topic/Question
Reply




MultiQuote






|