Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

Tagged with
0 votes
0 answers
81 views

Filter SQLite table with current coordinates in Xamarin forms

I have Xamarin form cross-platform app which has a table called Customers stored in SQLite db. This table has Latitude and Longitude for each customer. I can get the current GPS. What I want is to ...
Sid's user avatar
  • 21
0 votes
1 answer
616 views

.NET MAUI - SQLite-net-PCL CreateTableAsync breaks

I previously had this issue where my whole application froze after calling db.CreateTableAsync in a Service.cs file after following this tutorial. After fixing this issue with this solution, the ...
K_Ketchup's user avatar
1 vote
0 answers
665 views

.NET MAUI Application hangs on CreateTableAsync

I have been following this tutorial to implement SQLite-net into my MAUI application. Whenever the program executes "await db.CreateTableAsync<Restroom>();", the whole application ...
K_Ketchup's user avatar
0 votes
0 answers
65 views

Error when accessing sqlite db from xamarin

I am a newbie in xamarin. Trying to build a login page but when accessing a connection to sqlite error is occurred. Object variable not set to an instance of an object. _SQLiteConnection = ...
user22408554's user avatar
0 votes
1 answer
73 views

Write information to local filein xamarin c# app

I want to write string to file in same directory as my project in xamarin c# app. if (!File.Exists("healthcare6copy.db")) { File.Create("healthcare6copy.db"); } It gives me ...
vytaute's user avatar
  • 1,530
0 votes
1 answer
158 views

How to insert into SQLite database with C#?

I am fetching my data in SQLite C# in Xamarin app like that: public Task<List<Doctors>> ReadDoctors() { return db.Table<Doctors>().ToListAsync(); } How can I insert into doctors ...
vytaute's user avatar
  • 1,530
0 votes
1 answer
239 views

How to see database tables in Xamarin using SQLite?

I am making an app with Xamarin. I try to use database, recommendation (first and only options when Googling) is to use SQLite. I created Database class: public class Database { private ...
vytaute's user avatar
  • 1,530
-1 votes
1 answer
115 views

Why is the refresh to pull icon stuck refreshing?

I have this RefreshCommand which I use to refresh a database of "notes", but when I refresh the page, instead of refreshing for 2 seconds and then just giving me the notes, it keeps on ...
PuineaGip's user avatar
0 votes
2 answers
301 views

Why is this SQLite Connection always null?

I have this piece of code and I don't even know how to initialize it at this point. I tried a few different versions but all of them come up with a warning saying "Warning CS0649 Field '...
PuineaGip's user avatar
0 votes
0 answers
356 views

Deleting in SQLite Database in Xamarin

Xamarin and SQLite rookie here! App keeps crashing when trying to remove model from the database I'm trying to implement Sqlite database of this simple model: public class NoteModel { [...
Kostas Soulios's user avatar
1 vote
1 answer
553 views

C# Getting SwipeView Item/Object that invoked event

Sorry, new here. I've got a CollectionView of objects and there fields, when I invoke the delete event using SwipeView I want to be able to use the object that was selected to pass into an SQLite ...
Mellows's user avatar
  • 13
1 vote
1 answer
747 views

How to open SQLite DB created by one Xamarin Android app in another app?

I have a Xamarin Android app which creates SQLite DB. After reinstaling this app I am not able open the DB with a new version of the app. For the testing purpose the DB file is located at a Download ...
petr.f77's user avatar
0 votes
1 answer
134 views

Async function loops once while inserting data into database (Xamarin Forms - SQLite)

I've been learning C# and Xamarin Forms recently and have come across a problem when inserting data into my database and then refreshing my CollectionView. These are the involved methods in my ...
doubtfulCapybara's user avatar
0 votes
2 answers
594 views

Passing data between pages Xamarin Shell navigation

I have a Xamarin forms app with a form split across multiple pages, I want to pass the object data to the next or previous page. I am navigating using the Xamarin Shell. What method or setup can I use ...
Lazy Turtle's user avatar
0 votes
1 answer
63 views

Xamarin Entity Framework Migration - Table 'name' already exists

So, I have a Xamarin app with a local DB, and I'm using the command this.Database.Migrate() to apply any pending migration, it works fine at first, but the problem is, when I uninstall the app and ...
Felipe Valentim's user avatar

15 30 50 per page
1
2 3 4 5
28