DougH Posted January 17, 2008 Share Posted January 17, 2008 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, Doug Link to comment Share on other sites More sharing options...
Bert Posted January 17, 2008 Share Posted January 17, 2008 can we see a example of your code? It would be helpful The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now