Xamarin Forms `SQLiteAsyncConnection` throws error when trying to add data with new columns in existing table

Gayatri Gokhale 1 Reputation point
2020-12-02T12:20:49.6+00:00

I am using SQLiteAsyncConnection to perform CRUD operation in my xamarin.forms app.

My problem is. I have existing table with data in it. My requirement changed and I needed to add few more columns into that table. because I have data in that table, I can't drop it but I want to update existing one with newly added columns. but It's failing and even it doesn't give proper error message.

please find below screenshot that summarizes my problem44423-screenshot-48.png

also I am not able to use using keyword to control scope of connection object.

Any help would be appreciated.

Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,833 questions
{count} votes