I want to pass Array to my function like i used to do before <BR>in my VB6 Code (refer to following code) : <BR><BR>flag = RunSP("SPNAME", _ <BR> Array("@RepId", adInteger, 4, RepVal), _ <BR> Array("@Gsr", adVarChar, 100, GsrVal)) <BR><BR>but I am not able to use same in ASP.net class. <BR>Can you guide me in this regard? <BR>I want to avaoid making multiple arrays and passing 1 by 1. <BR><BR>regards <BR>Parry BrookesThe following approach works:<BR><BR>Dim arrMyArray as ArrayList = New ArrayList()<BR><BR> ....Load your arraylist here<BR><BR>MyFunction(arrMyArray) ' CALL YOUR FUNCTION<BR><BR>Tom T