title: how to compare a value from database with the textbox value
body: <p>I am using sql server 2005 and visual stdio 2008
  i have a textbox in my page as txtEmailId
  i want to compare this value in database with email_id column[it is a primary key]
  to avoid inconsistence in database on a button click with out using custom validator  </p>