예제 #1
0
 private async void InsertItemsTable(Items item)
 {
     try
     {
         await itemsTable.InsertAsync(item);
         itemsCollection.Add(item);
     }
     catch (Exception) { }
 }
예제 #2
0
 private void SubmitBtn_Clicked(object sender, RoutedEventArgs e)
 {
     var item = new Items { Title = title_input.Text , Description = desc_input.Text };
     InsertItemsTable(item);
     ReadItemsTable();
 }