title: unspecified error in C#
body: <p>i wrote a program that writes data to 2003 access database every 1 minute,
  after 20 minutes an unspecified error occurs. Any ideas?</p>
  
  <p>Here's the code</p>
  
  <pre><code>private void timer1_Tick(object sender, EventArgs e)
  {
         try
          {
            OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\\DATA.MDB");
            con.Open();
            new OleDbCommand("UPDATE [DATA] SET Minute = Minute+1", con).ExecuteNonQuery();
            con.Close();
          }
          catch(Exception e)
          {
              MessageBox.Show(e.Message);
          }
  }
  </code></pre>