asifakhtar
05-16-2009, 08:54 PM
Hello,
I am making a web site with master page in C#. I used membership, Roles and Profile.
I am using asp:Login, when I log in it doesn’t match the exact UserName in my database and lets me in the application for example the UserName in my database is “Admin” but it aslo logs me in if I enter “admin” or “adMIN” or “AdMin”. How can I fix this that whatever value I have in the database it should exactly match the value for example if I have “Admin” in my database, the application should only let me in if I enter “Admin” in the asp:Login
I am making a web site with master page in C#. I used membership, Roles and Profile.
I am using asp:Login, when I log in it doesn’t match the exact UserName in my database and lets me in the application for example the UserName in my database is “Admin” but it aslo logs me in if I enter “admin” or “adMIN” or “AdMin”. How can I fix this that whatever value I have in the database it should exactly match the value for example if I have “Admin” in my database, the application should only let me in if I enter “Admin” in the asp:Login