[FONT=Verdana, Arial, Helvetica][FONT=Verdana, Arial, Helvetica]But i am using the ArrayList to store each of the SQL. Eg:[/FONT]
[/FONT]
[FONT=Verdana, Arial, Helvetica][FONT=Verdana, Arial, Helvetica][/FONT][/FONT][FONT=Verdana, Arial, Helvetica]
[FONT=Verdana, Arial, Helvetica][FONT=Verdana, Arial, Helvetica][FONT=Verdana, Arial, Helvetica]But i get the error is: Index was outside the bounds of the array [/FONT][/FONT]
[/FONT][/FONT]
[/FONT]
VB.NET:
Dim aSQLMaster As New ArrayList
StrSQL = "INSERT INTO NXP_AM1_ACU_DETAIL " _
& "(FromId,P001,P002,P003,P004,P005, " _
& "P006,P007) VALUES ('" & UniqueId & "', " _
& "'" & aColumns(5) & "', '" & aColumns(8) & "', " _
& "'" & aColumns(11) & "', '" & aColumns(14) & "', " _
& "'" & aColumns(18) & "', '" & aColumns(21) & "', " _
& "'" & aColumns(24) & "')"
aSQLMaster.Add(StrSQL)
[FONT=Verdana, Arial, Helvetica][FONT=Verdana, Arial, Helvetica][FONT=Verdana, Arial, Helvetica]But i get the error is: Index was outside the bounds of the array [/FONT][/FONT]
[/FONT][/FONT]
Last edited by a moderator: