Beispiel #1
0
        protected void search(object sender, EventArgs e)
        {
            String query = SearchBox.Text;

            MedicineTable.DataSource = MedicineController.getMedicineListByQuery(query);
            MedicineTable.DataBind();
        }
Beispiel #2
0
 protected void loadTable()
 {
     MedicineTable.DataSource = MedicineController.getAllMedicine();
     MedicineTable.DataBind();
 }