When i was using Upper case or Lower case letters for Password it is logged in but i want if i use lower case letters it does not logged in with upper case letters
plz help me.... :(
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Joginder BangerRank #360 · 7K reputationPosted Nov 29, 2014, 8:14 PM EST
plz share you code, without code i can't understand.
Shweta LodhaRank #31 · 39.8K reputationPosted Nov 29, 2014, 8:16 PM EST
Are you looking for case-sensitive comparison ?
Chinna NethaRank #5,573 · 294 reputationPosted Nov 29, 2014, 8:20 PM EST
but when iam using password.. i gave upper case alphabet letters. but..., when i enter lower case letters also it is opening.... in that registration page how can write code... plz help me.
Chinna NethaRank #5,573 · 294 reputationPosted Nov 29, 2014, 8:20 PM EST
Shweta LodhaRank #31 · 39.8K reputationPosted Nov 29, 2014, 8:27 PM EST
string password= "USERS";
bool result = password.Equals(textbox.Text, StringComparison.Ordinal);
based on this bool variable, you can take your decision whether to allow login or not. Hope it answered your query.