Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Invalid Cast
Jonathen Scalet
18y
2.5k
1
Reply
I am trying to access a dynamically created control ( a tabpage ) with the following code:
((ListView)this.tabControl1.TabPages[1].Controls[1]).Items.Add("HELLO");
I am getting an error:
Specified cast is not valid.
What am I doing wrong?
Thanks,
Jon
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
File fails to load when network failure
Purpose of this