[MICROSOFT][OBDC Sql Server Driver][Sql Server] procedure or function (Get_Emp)
expects parameter '@empid',which was not supplied
expects parameter '@empid',which was not supplied
I encounter this error when i call a stored procedure from my SQL SERVER database,
the cause of this error is when i forgot to declare the parameters of my stored procedure
that supposedly declaring like this:
Mycmd.Parameters.Append _
Mycmd.CreateParameter("EmpID",Advarchar,AdparamInput, _
50,txtid.text)Note: Get_Emp is my Stored Procedure Name
Happy coding ^_^
The Hardest thing to do is to do Nothing
Leave a comment