title: Why SQLite data base values are not retrieving?
body: <p>I tried storing some data to a <code>c#, XAML</code> project. When I add data in get stored to database. But when I tried to retrieve them back it doesn't happens. What is the reason.</p>
  
  <p><strong>The code to store values</strong>
  values are passed through parameters . They are user inputs.</p>
  
  <pre><code>var DBPath = Database.DB_PATH;
  using (var db = new SQLite.SQLiteConnection(DBPath))
  {
        db.CreateTable&lt;User&gt;();
        db.RunInTransaction(() =&gt;
        {
            db.Insert(new User()
            {
                userName = uName,
                password = pass,
                email = mail,
                country = countRy,
             });
        });
  }
  
  MessageBox.Show("Details Added");
  </code></pre>
  
  <p><strong>Retrieve values</strong></p>
  
  <pre><code>var _user = db.Query&lt;User&gt;("select * from User").FirstOrDefault();
  db.RunInTransaction(() =&gt;
  {
        if (getUserName.Text == (_user.userName))
        {
              MessageBox.Show("Welcome " + getUserName.Text);
              NavigationService.Navigate(new Uri("/Map.xaml", UriKind.Relative));
        }
        else
        {
              MessageBox.Show("Invalid Credentials");
        }});
  }
  </code></pre>