private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e) { db = new MyDataContex("Data Source=isostore:/Eventos.sdf"); if (!db.DatabaseExists()) { db.CreateDatabase(); AgregarUsuarioInicial(); } }
private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e) { db = new MyDataContex(MyDataContex.cadena); if (!db.DatabaseExists()) { db.CreateDatabase(); AgregarUsuarioInicial(); } }