I have been struggling with the SetValue method when trying to use
indexed items. I can not figure out what needs to be done to create
the "index As Object()" parameter.
Lets say I have this in my page..
<asp:ListBox ID="ListBox1" runat="server" EnableViewState="False"
And in the code behind I want to set the second item's selected
property to "True"... how would this be done? I'm currently working
with something like this..
Dim Element As String = "ListBox1"
Dim PropName As String = "Selected"
Dim PropValue As String = "True"
Dim Index = New Object()
PropValue , Index)
If I am way off and using the index parameter isn't needed.. I am sure
many people would love to see how this mysterious parameter works in a
Thanks in advance!