Skip to content
Advertisement

Tag: xamarin.forms

Saving with SQL

Hi all I have a page that I’m trying to ADD to a list and save it with viewmodel and SQL. but my list is empty Can you tell me where am I wrong?? on my Xaml (Page1): my Model (Energypage): And on my EnergyViewModel: I did bond my page1 to Energyviewmodel, and it works find when I didn’t use

C# SQLConnection.Open() hangs, with no exception

I am using C# in Visual Studio 2019, with Xamarin.Forms, and SQl in SSMS 2018 and have the below code (where [] is used to replace unneccessary information) When I run this, it hangs indefinitely at connection.Open(). Debug mode continues to run and appears to move on from Connection.Open(), but never reaches the next line. I have attempted this with

Advertisement