I have three text boxes in which first text box is mail id, second textbox is username and third text box is password.At present when user enters the mail id automatically the text beford @ in mail id goes and occupies the second textbox and at the same time the password gets automatically binded to text box.For example
txtMailid-test@gmail.com is the mail id which user enters in textbox
txtusername-test the text before @ gets automatically binded to text box
txtpassword-user@123 gets automatically binded to txtpassword and this textbox is readonly
If i am registring second user then also the password will be user@123.Now my requirement is each time when i enter email id random passowrd should get binded to textbox and that random text should be unique how can i do this can anyone help me out as i am new to this