Beispiel #1
0
 //--------------------
 //Commit & Back
 //--------------------
 private void btnRecordBack_Click(object sender, EventArgs e)
 {
     DataAccess DA = new AccessDataAccess();
     DA.InsertArticle("Test", "Test", "Test", 21, "Test", "Test", "Test", "07/20/1986", "Test", "Test", "Test");
     //TextWriter tw = new StreamWriter("NoHTMLText.txt");
     //tw.WriteLine(removeHTML(wb1Ref.DocumentText.ToString()));
     //tw.Close();
 }
Beispiel #2
0
 private void btnDeleteToday_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Are you Sure you want to Delete all entries from today","Search String", MessageBoxButtons.OKCancel) == DialogResult.OK)
     {
         DataAccess DA = new AccessDataAccess();
         DA.DeleteEntriesFromToday();
         lblInfo.Text = "Today's Entries have been erased";
     }
 }