Jump to content
Sign in to follow this  

ListView Problem

Recommended Posts

I need a little help in formatting the data I am putting into a ListView Control. I am reading information from a database which contains numbers, text, and dates. The dates are defined as Date/Time as a short date. The Numbers are defines as a Single with 2 decimal places.

When I read the information in the table and write it to the Listview. the numbers are padded with trailing zeros with no decimal points and the dates are also padded with zeros and do not contain the slashes. Is there a way to predefine the type of data the columns will be displaying and the format it should be displayed?

Thank you in advance for your help,


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...