Advertisement
Create one method and call that method in Insert mode or update mode. It generate random password.
Check the below code Example How to use.
public static string CreateRandomPassword(int PasswordLength) { string _allowedChars = "0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ"; Random randNum = new Random(); char[] chars = new char[PasswordLength]; int allowedCharCount = _allowedChars.Length; for (int i = 0; i < PasswordLength; i++) { chars[i] = _allowedChars[(int)((_allowedChars.Length) * randNum.NextDouble())]; } return new string(chars); }
call this method in Insert mode or update mode,based upon your requirement.
If you give 8 meants it will show like this ZeXdjOdx
string pwd = CreateRandomPassword(8);
Hi admin, i went through article. As we all know, .net is most popular programming language and it offer huge career prospects for talented professionals. It’s totally awesome, keep on updating your blog with such awesome information. .Net Training in Chennai
ReplyDeleteI have read your blog its very attractive and impressive. I like it your blog.
ReplyDeleteDot Net Training in Chennai Dot Net Training in Chennai .Net Online Training .Net Online Training Dot Net Training in Chennai Dot Net Training in Chennai
Dot Net Online Training Dot Net Online Training LINQ Online Training LINQ Online Training ASP.NET Online Training ASP.NET Online Training
The best thing is that your blog really informative thanks for your great information!
ReplyDeleteerp in chennai
Good one, very informative.. thanks for sharing your views and ideas.. it is very useful to me.. thanks once again.
ReplyDeleteDot Net Training in chennai | Dot Net Training institute in chennai
Hi, am a big follower of your blog. I am really happy to found such a helpful and fascinating post that is written in well manner.
ReplyDeletemobile website builder
Inspiring writings and I greatly admired what you have to say , I hope you continue to provide new ideas for us all and greetings success always for you..
ReplyDeletewhite label website builder
Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts
ReplyDeletepython training institute in marathahalli | python training institute in btm
Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
ReplyDeleteexcel advanced excel training in bangalore | Devops Training in Chennai
I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community.
ReplyDeleteJava training in Bangalore | Java training in Marathahalli
Java training in Bangalore | Java training in Btm layout
Java training in Bangalore |Java training in Rajaji nagar
Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.
ReplyDeleteAWS Training in Bangalore | Amazon Web Services Training in bangalore , india
AWS Training in pune | Amazon Web Services Training in Pune, india
AWS Training in Chennai|Amazon Web Services Training in Chennai,India
aws online training and certification | amazon web services online training ,india
Awesome..You have clearly explained …Its very useful for me to know about new things..Keep on blogging..
ReplyDeleteData Science course in Indira nagar
Data Science course in marathahalli
Data Science Interview questions and answers
Data science training in tambaram | Data Science Course in Chennai
Data Science course in btm layout | Data Science training in Bangalore
Data science course in kalyan nagar | Data Science Course in Bangalore
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteangularjs Training in bangalore
angularjs Training in bangalore
angularjs online Training
angularjs Training in marathahalli
angularjs interview questions and answers
Nice blog
ReplyDeletejava training in Marathahalli
spring training in Marathahalli
java training institute in Marathahalli
spring and hibernate training in Marathahalli
Nice post..
ReplyDeletepython django training in BTM
python training centers in BTM
python scripting classes in BTM
python certification course in BTM
python training courses in BTM
python institutes in BTM
python training in btm
python course in btm
best python training institute in btm
Nice post..
ReplyDeleteDOT NET training in btm
dot net training institute in btm
dot net course in btm
best dot net training institute in btm
valuable blog,Informative content...thanks for sharing, Waiting for the next update…
ReplyDeleteStudy Abroad Consultants in Kerala
study abroad consultants in thrissur
Study Abroad Consultants in Calicut
abroad job consultancy in coimbatore
abroad job consultancy in calicut
abroad job recruitment agencies in calicut
study abroad
study in poland
study in europe
education in germany
Excellent Blog!!! Waiting for your new blog... thanks for sharing with us.
ReplyDeletepython real time applications
ccna job opportunities
php or python
python future scope
data science interview questions and answers for freshers
seo interview questions and answers
ReplyDeleteExcellent blog..! This is the best for my development and keep updating...
JMeter Training in Chennai
Appium Training in Chennai
Appium Online Training
Appium Training in Coimbatore
JMeter Training in Coimbatore
Soft Skills Training in Chennai
Đặt vé tại phòng vé Aivivu, tham khảo
ReplyDeletevé máy bay đi Mỹ hạng thương gia
đặt vé máy bay đi hà nội vietnam airline
vé máy bay đà lạt hồ chí minh
giá vé máy bay hà nội nhatrang
vietnam airlines quốc tế
taxi sân bay trọn gói
combo quy nhơn bamboo