private void btnShowCustomer_Click(object sender, EventArgs e) { if (cbCustomer.SelectedIndex >= 0) { DataTable dt = tdal.DisplayTransactionByCustomer(cbCustomer.SelectedValue.ToString()); dgvTransactions.DataSource = dt; } }
private void btnShowCustomer_Click(object sender, EventArgs e) { if (cbCustomer.SelectedIndex >= 0) { DataTable dt = tdal.DisplayTransactionByCustomer(cbCustomer.SelectedValue.ToString()); dgvTransactions.DataSource = dt; } }