Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27380

Procedure or function 'SP_LOGIN' expects parameter '@ID', which was not supplied.

$
0
0
Hi
I am new in VB .NET and I congratulate you and thank you for everything you do for the community of programmers .
I have a little problem passing parameters to a stored procedure in SQL SERVER 2008 R2 .I try to program a login form that receives a user name and a password.

I created a table Users and a Stored Procedure I called SP_LOGIN, I also created a class that contains two functions of type DataTable that receives arguments: the name of the stored procedure of type string and another argument named prm of type array SqlParameter.

Second function i created is to login so i will copy all my code so that you can analyse it because i have error message : Procedure or function 'SP_LOGIN' expects parameter '@ID', which was not supplied.

Thanks in advance

Viewing all articles
Browse latest Browse all 27380

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>