This tutorial will teach you to make a small Chicken shop Inventory system using c#.net. The following system will use to manage the Chicken shop.
Paste the code inside the ok button
1 2 3 4 5 6 7 8 9 10 11 12 13 | string status = chkchicken.SelectedItem.ToString(); double qty = double.Parse(txtqty.Text); if (status.Equals("KG")) { double tot = qty * 100; txttotal.Text = tot.ToString(); } else { double tot = qty / 1000 * 100; txttotal.Text = tot.ToString(); } |
i have attached the video link below. which will do this tutorials step by step.