rectify my string array code

Posted by Oswaldlily under ASP.NET on 9/6/2011 | Points: 10 | Views : 1023 | Status : [Member] | Replies : 1
Dim tbl()() As String
tbl(i)(j) = tbl(i)(j) & "<table rules='all' border='0' cellpadding='2' cellspacing='1' bgcolor='#0c0c0c' align='center' width='500'><tr bgcolor='#fbfff4'><td><b><center>ID</center> </b> </td><td><b><center>Department</center></b></td><td><b><center>Year</center></b></td></tr>"

tbl(i,j)=tbl(i)(j) ................(some mistake in this declaration)

can any1 rectify


Posted by: Oswaldlily on: 9/6/2011 [Member] Starter | Points: 25

my error is

System.IndexOutOfRangeException: Index was outside the bounds of the array

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response