I have created a registration form in c#(pls note i am new in .net and i have not used MVC,AJAX or share point) and in the registration page i need to check whether username available in DB or not and return error to user. I have created stored procedure and that will check for username and display something as "Username exist". Everything went fine but whenever i type in the username( different and same username) it shows user exists or when i change the piece of code (different or same username) it shows user exists for both the scenario and get updated table. Can anyone help me in resolving this please
why don't you post your question in stackoverflow
You should create a text change event to check the existing username also using LINQ will be best in this scenario.