General information
Category:
The Mere Mortals .NET Framework
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only