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