Пример #1
0
 private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
 {
     db = new MyDataContex("Data Source=isostore:/Eventos.sdf");
     if (!db.DatabaseExists())
     {
         db.CreateDatabase();
         AgregarUsuarioInicial();
     }
 }
Пример #2
0
 private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
 {
     db = new MyDataContex(MyDataContex.cadena);
     if (!db.DatabaseExists())
     {
         db.CreateDatabase();
         AgregarUsuarioInicial();
     }
 }
Пример #3
0
        private void Grid_Loaded(object sender, RoutedEventArgs e)
        {
            MyDataContex db = new MyDataContex(MyDataContex.cadena);

            lstParticipantes.ItemsSource = db.listaParticipantes;
        }