public void getTable() { dataGridView1.DataSource = cM.getAllData("ListTable", null, null, null, null); cM.refresh_address(floor, "SELECT * FROM tbl_floor"); cM.refresh_address(txtType, "SELECT * FROM tbl_table_type"); desc.Clear(); }
public void listCategory() { cM.refresh_address(txtcat, "SELECT * FROM menu_category;"); }