| 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 | |
Invalid Cast
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Brandon Turner54 pointsPosted Mar 29, 2006, 4:29 PM EST