471,347 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,347 software developers and data experts.

ListView Problem /Mystery.

I use a ListView in a form to display Data from an SQL db.



My problem is that I can fill the listview in less than a second when I show the form AFTER filling the listview, but I take 35 seconds if I show the form BEFORE filling the listview !!!



Yes I call ListView's BeginUpdate()/EndUpdate() methods, I tried with hiding the ListView before filling it, I tried Suspend/resume Layout,. nothing works, I still have to wait 35 seconds.. And the only difference is that the form is shown before or after filling the listview !



Does anybody have an idea about that problem ???



Thanks for any help !



Steph.



Jul 22 '05 #1
0 1075

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Anushya | last post: by
reply views Thread by Anushya | last post: by
reply views Thread by keith | last post: by
7 posts views Thread by Dave Y | last post: by
12 posts views Thread by juli jul | last post: by
7 posts views Thread by BobAchgill | last post: by
reply views Thread by Steph. | last post: by
4 posts views Thread by Brian Gaze | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.