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
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