private void calcBill() { string am = ""; string pm = ""; float award; if (Convert.ToBoolean(dataGridView2.SelectedRows[0].Cells["AM"].Value) == true) { am = dataGridView2.SelectedRows[0].Cells["AM"].Value.ToString(); award = 0.5f; } else { am = dataGridView2.SelectedRows[0].Cells["AM"].Value.ToString(); award = 0.0f; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)