How can i insert password from textbox in database in encrypted form and match from database to login.

Hi,
You'll want to look into using a hash function against the entered password and then saving the hashed version in the database. Then, on logging in, hash the supplied password and check it against the hash in the database.
Check out tutorials for MD5 and SHA1 online

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.