SqlCommand cmd = new SqlCommand(); cmd.Connection = con; cmd.CommandType = CommandType.Text; cmd.CommandText = "Select * from Registration where Uname=@user and Password=@pass collate Latin1_General_CS_AS"; cmd.Parameters.AddWithValue("@user", txtuser.Text); cmd.Parameters.AddWithValue("@pass", txtpass.Text); //
john
John
JOhn
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)