Example #1
0
 public void search()
 {
     dataGridView1.DataSource       = lc.getCustomerForMembership(namesearchtb.Text);
     dataGridView1.Columns[0].Width = 50;
     dataGridView1.Columns[1].Width = 180;
     dataGridView1.Columns[3].Width = 180;
 }
Example #2
0
 private void namesearchtb_TextChanged(object sender, EventArgs e)
 {
     dataGridView1.DataSource       = lc.getCustomerForMembership(namesearchtb.Text);
     dataGridView1.Columns[0].Width = 50;
     dataGridView1.Columns[1].Width = 180;
     dataGridView1.Columns[2].Width = 120;
     dataGridView1.Columns[3].Width = 250;
 }
Example #3
0
        private void customernametb_TextChanged(object sender, EventArgs e)
        {
            submissiondatetb.Text = "";
            comboBox1.DataSource  = null;
            comboBox1.Text        = "";


            dataGridView1.DataSource       = lc.getCustomerForMembership(customernametb.Text);
            dataGridView1.Columns[0].Width = 50;
            dataGridView1.Columns[1].Width = 180;
            dataGridView1.Columns[2].Width = 120;
            dataGridView1.Columns[3].Width = 250;
        }