Allow Special Charactors(!@#$%^&*), Alphabets and Numerics
password should allow the Special Charecters, numerics and alphabets and also username and password should be case-sensitive how to possible to do any one know about these please help me................
Jignesh TrivediPosted Apr 4, 2013, 2:27 AM
hi,
you can make your Table 's column case sensitive by help of SQL Collation.
like
SELECT UserID, Password
FROM UserMaster
WHERE UserId COLLATE Latin1_General_CS_AS = 'MyUserId'
Please refer
http://msdn.microsoft.com/en-us/library/ms190920.aspx
http://msdn.microsoft.com/en-in/library/ms144250%28v=sql.105%29.aspx
hope this will help you.
manjula dPosted Apr 4, 2013, 1:33 AM
VulpesPosted Apr 2, 2013, 8:26 AM
string regExp = "^[a-zA-z0-9!@#$%^&*]{6,12}$";
manjula dPosted Apr 2, 2013, 7:23 AM
Jignesh TrivediPosted Apr 2, 2013, 12:36 AM
your question is not too much cleared.
you want to generate this type user id /password or you want to validate this?
Hemant SrivastavaPosted Apr 1, 2013, 10:58 AM