TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
An0n 3m0us
NA
3
0
ListView SelectedItems Count Trouble ...
Dec 28 2005 6:38 PM
I have a ListView that I set the default SelectedItem in code. Which works as it should on the UI. But immediately after setting the selected item if I check for it it returns false. What am I missing? Here is my code ... // Set the first item to selected someListView.Items[0].Selected = true; // Check the Selected Item Count .. it should be 1 BUT isnt??? someCount = someListView.SelectedItems.Count; As stated above the UI works as it should be the count is still zero. Thoughts? Much thanks, An0n
Reply
Answers (
1
)
eading and writing strings to and from a file in VB
ReadAllText and Encoding?