Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
ExecNonQuery Function from a Business Object
Hi there,
I am calling ExecNonQuery function from my business object which calls a stored procedure with 8 input parameters, but I get the following message Incorrect syntax near 'OSP_Product_Additional_Information_iu'.
Here is the code that I have
Dim i As Integer = Me.ExecNonQuery("OSP_Product_Additional_Information_iu", _
Me.CreateParameter("@bvin", bvin), _
Me.CreateParameter("@ACTIVITYDATE", ACTIVITYDATE), _
Me.CreateParameter("@STARTDATE", STARTDATE), _
Me.CreateParameter("@ENDDATE", ENDDATE), _
Me.CreateParameter("@CHEKBKID", CHEKBKID), _
Me.CreateParameter("@ACTNUMST", ACTNUMST), _
Me.CreateParameter("@GradeLevel", GradeLevel), _
Me.CreateParameter("@COURSE", COURSE))
I am not sure what I am doing wrong.
Thanks
Yassin
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement