Hi everyone,<BR><BR>In classic ASP I can pass my parameters to the Command Object using array:<BR><BR> cmdUpdate.Execute lngRecs, myArray, adExecuteNoRecords<BR><BR>Where myArray() is the arbitrary array with all my parameters.<BR><BR>Full syntax is: <BR><BR>Function UpdateProfile(ByVal strConn, ByVal usp_Name, ByVal myArray)<BR> Set cmdUpdate = Server.CreateObject(“ADO.Command”)<BR> With cmdUpdate<BR> .ActiveConnection = strConn<BR> .CommandText = usp_Name<BR> .CommandType = adCmdStoredProcedure<BR> .Execute lngRecs, myArray, adExecuteNoRecords<BR> End With<BR> UpdateProfile = lngRecs<BR>End Function<BR><BR>This very convenient approach has brought a lot of flexibility to my applications.<BR><BR>Do I have something similar in .NET, or I need to use ParameterCollection object and define all parameters one-by-one with all this tooth-ache !? &#060;sad /&#062;<BR><BR>Thanks in advance<BR>