Example #1
0
        public void Menuback_btn_Clicked(object sender, EventArgs e)
        {
            SQLiteConnection s;

            s = DependencyService.Get <ISQLite>().GetConnection();
            CartQuery c = new CartQuery();

            CartQuery dbr    = new CartQuery();
            var       result = dbr.GetallRecords();
            //Toast.MakeText(this, result, ToastLength.Short).Show();
            //if (result != null)
            //{
            var ans = DisplayAlert("Order Summary", result, "OK");
        }
Example #2
0
        // HttpClient client;

        public FinalCart()
        {
            InitializeComponent();
            //client = new HttpClient();
            //client.MaxResponseContentBufferSize = 256000;
            this.BackgroundImage = "background.png";
            this.Title           = "COMPLETE ORDER";

            SQLiteConnection s;

            s = DependencyService.Get <ISQLite>().GetConnection();
            CartQuery c = new CartQuery();

            CartQuery dbr    = new CartQuery();
            var       result = dbr.GetallRecords();
            var       ans    = DisplayAlert("Order Summary", result, "OK");

            sendJason();

            //var tablew = s.Table<JsonCart>();
        }