Esempio n. 1
0
        private void btnclick(object sender, EventArgs e)
        {
            B  = new Book();
            Rc = new RegistrationClass();
            String      t   = Et.ToString();
            List <Book> res = Rc.SelectTableBook(t);

            if (res != null)
            {
                int  y    = res.Count;
                Book temp = res.Last();
                FindViewById <TextView>(Resource.Id.textView1).Text = temp.C_id;
                FindViewById <TextView>(Resource.Id.textView2).Text = temp.Address;
                FindViewById <TextView>(Resource.Id.textView3).Text = temp.Message;
            }
        }