title: SQL Server Compact Edition ISNULL(sth, ' ') returns a boolean value?
body: <p>I have an <code>Accounts</code> table with columns <code>name, password</code> and <code>email</code>. They are all type <code>nvarchar</code>.
  I wrote a query like </p>
  
  <pre><code>SELECT name, password, ISNULL(email, 'eeee') 
  FROM Accounts 
  WHERE name = '" + textBox1.Text + "' AND password ='" + textBox2.Text + "'"
  </code></pre>
  
  <p>I read the email as <code>reader.getString(2)</code> since it is <code>nvarchar</code>.</p>
  
  <p>As I read from the internet, if <code>email</code> is NULL, then it should return <code>eeee</code>. But it says <code>System.boolean</code> can not be translated to <code>System.String</code>. </p>
  
  <p>How can I correct this? Why does it return a boolean value?</p>