Posted on 2008-10-28
I have some code in visual basic, the main sub displays the parsed file contents, and createds an output that displays them as a list - can I alter this to pass it into a javscript array?
Dim arr As New ArrayList
arr = parseFile(Server.MapPath("Messageboard.html"))
Dim sOutput As String = ""
For i As Long = 0 To a.Length - 1
sOutput = sOutput + a(i) + "<BR><BR><BR><BR><BR><BR>" (HERE IS WHERE THE PARSED CONTENT IS ADDED)
myLiteralControl.Text = sOutput (COULD JUST AS WELL BE RESPONSE WRITE ALSO< DISPLAYS THE HTML ON A PAGE)