title: Best way to Check if User already exist before Inserting to DB
body: <p>Is there a better and easier way for me to check if the user is already registered before inserting it in the DB? What I usually do is use a</p>
  
  <ul>
  <li>SELECT Query to Compare</li>
  <li>then IF Statement</li>
  <li>IF TRUE msgbox appears "User Already Registered"</li>
  <li>ELSE Insert into DB</li>
  </ul>
  
  <p>Im creating Registration Site Using asp.net c# and sql-server as database</p>