Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am having problems populating the list control with data when I using report view. I can create the column headings and they show up properly. If I insert items, they do not show up, however, if I query them from software they are there. When I retrieve the count, they proper amount shows up?

Any ideas?
Posted

You need to do an UpdateData(TRUE) after making changes to the control to get it to display.
 
Share this answer
 
The reason could be the view type you selected may be 'ReportView' if you choose your view as report, you need to add columns to the ListControl first. You can do this programmatically using Insert Column[^] or by design time.

Try adding the columns and check your screen.
 
Share this answer
 
Comments
Sachin Shinde 9-Jun-14 7:18am    
tried but didnt worked

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900