Programatic referencing of literals and object properties
<p>I have advice that this might work for programmatically filling a set of literals from a set of object properties:-</p>

<pre><code>For i As Integer = 1 To noOfTexts
  Dim ctl As Literal = DirectCast(FindControl("help" &amp; i), Literal)
  If ctl IsNot Nothing Then
 ctl.Text = pageData.help(i).trim()
 ctl.Visible = True
  End If
Next
</code></pre>

<p>However, the line: ctl.Text = pageData.help(i).trim() fails because it's not understood that pageData.help(i) should translate to pageData.help1, pageData.help2, etc.  </p>

<p>Is there some syntax that would achieve this in VS2010 Asp.net VB?</p>
