登录的存储过程: ALTER PROCEDURE [dbo].[UserLogin] @userid int output, @LoginName nvarchar(50), @Password nvarchar(50) AS BEGIN SET NOCOUNT ON; DECLARE @count int --查询指定表,返回符合条件的个数 SELECT @count=count(*) FROM UserManager WHERE LoginName=@LoginName AND Passwo…