Example #1
0
 public ListViewItem Insertfood(string id, string name, string price)
 {
     menu = new ListViewItem();
     menu.SubItems[0].Text = id;
     menu.SubItems.Add(name);
     menu.SubItems.Add(price);
     db.InsertMenu(id, name, price);
     return(menu);
 }
Example #2
0
 public void Insertfood(string name, string price, ListView list)
 {
     db.InsertMenu(name, price);
     db.GetFoodProperty(list);
 }