L
Lou Civitella
I am using VB.NET and SQL Server 2000.
I Created a small stored procedure that returns a string value:
CREATE PROCEDURE sp_GetEmployee
@EmpNo int
AS
SELECT FirstName + ' ' + LastName As Name FROM tsqlEmployeeSetup WHERE EmpNo
= @EmpNo
GO
Using VB.NET I would like to be to have the user enter a EmpNo in a field on
a text box and then have the stored procedure lookup the value and return it
in a message box in VB.NET.
How do I do this?
Thanks,
Lou
Also I have another question:
Being an Access developer I am used to the After Update event of a field
what event can I use in VB .NET that would be considered the same?
Thanks Again.
I Created a small stored procedure that returns a string value:
CREATE PROCEDURE sp_GetEmployee
@EmpNo int
AS
SELECT FirstName + ' ' + LastName As Name FROM tsqlEmployeeSetup WHERE EmpNo
= @EmpNo
GO
Using VB.NET I would like to be to have the user enter a EmpNo in a field on
a text box and then have the stored procedure lookup the value and return it
in a message box in VB.NET.
How do I do this?
Thanks,
Lou
Also I have another question:
Being an Access developer I am used to the After Update event of a field
what event can I use in VB .NET that would be considered the same?
Thanks Again.