D
Dagoberto Flores
Hi, I try in the Application Block to send the sqlCommand (object visual)
parameters to the SqlHelperParameterCache.CacheParameterSet(). Some code
is:
SqlHelperParameterCache.CacheParameterSet(CONN_STRING, spName,
sqlInsertComm.Parameters);
Where spName is the StoreProcedure (the sqlCommand, object visual). In
theory I send the parameters to cache, but the error message is:
C:\Documents and Settings\User\My Documents\Visual Studio
Projects\Taxes\NewMagAchat.cs(603): Argument '3': cannot convert from
'System.Data.SqlClient.SqlParameterCollection' to
'System.Data.SqlClient.SqlParameter[]'
Thanks
Dago Flores
parameters to the SqlHelperParameterCache.CacheParameterSet(). Some code
is:
SqlHelperParameterCache.CacheParameterSet(CONN_STRING, spName,
sqlInsertComm.Parameters);
Where spName is the StoreProcedure (the sqlCommand, object visual). In
theory I send the parameters to cache, but the error message is:
C:\Documents and Settings\User\My Documents\Visual Studio
Projects\Taxes\NewMagAchat.cs(603): Argument '3': cannot convert from
'System.Data.SqlClient.SqlParameterCollection' to
'System.Data.SqlClient.SqlParameter[]'
Thanks
Dago Flores