We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Getting error in App.g.i.cs when loading my graphs in my app

Thread ID:

Created:

Updated:

Platform:

Replies:

123207 Feb 25,2016 04:39 PM UTC Feb 26,2016 10:05 AM UTC UWP 1
loading
Tags: SfChart
Bhavya Shah
Asked On February 25, 2016 04:39 PM UTC

Here is my code using sqllite
 public ObservableCollection<DbManager> Break;
        //public List<DbManager> Break1;
        string path;
        SQLite.Net.SQLiteConnection conn;
        public GraphPage()
        {
            this.InitializeComponent();
            //Break1 = Breakfast.GetBreak();
            
            path = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "db.sqlite");
            conn = new SQLite.Net.SQLiteConnection(new SQLite.Net.Platform.WinRT.SQLitePlatformWinRT(), path);
            var query1 = conn.Table<DbManager>().Where(c => c.Reading == "Breakfast");
            string result1 = String.Empty;
            foreach (var item1 in query1)
            {
               Break.Add(new DbManager { Glucose = item1.Glucose, Date = item1.Date });
            }
            Break = new ObservableCollection<DbManager>();
            DataContext = this;
        }
And the error in App.g.i.cs is:
 !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
            UnhandledException += (sender, e) =>
            {
                if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
            };

Sumathi Jayaraj [Syncfusion]
Replied On February 26, 2016 10:05 AM UTC

Hi Bhavya,
 
Thanks for contacting Syncfusion Support.
 
Please share the stack trace or error log, and also provide us sample to replicate the reported issue. This would be helpful for us to provide you the better solution.
 
Regards,
Sumathi J

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;