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

Developer technologies | .NET | Xamarin
SQL Server | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.