In the login window, if password not matched then error must be shown. All coding i have done but the problem is in Sql Server Password column it is not case sensitive and i donot know how to implement this.
if a user has password abc09Fd
and he typed the password in the format ABC09fD
, SQL server makes him login. How to resolve this.
my table schema is
create table Users
(
UserId int identity constraint PK_UserID primary key,
RoleId int constraint FK_Role_Users_RoleID foreign key references Roles(RoleId),
Username nvarchar(256) not null constraint U_Users_Username unique ,
Password nvarchar(256) not null
)
@username
and@password
– Hassaan