Exemple #1
0
 private void BILLS_Load(object sender, EventArgs e)
 {
     bill = new Bilssset(connectionString, sqlcomand, "MED", "bill");
     dataGridView1.DataSource  = bill.GetDataView();
     this.dataGridView1.Width  = this.groupBox1.Width - 10;
     this.dataGridView1.Height = (Height - this.groupBox1.Height) - 50;
 }
Exemple #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     bill = new Bilssset(connectionString, sqlcomand, "MED", "bill");
     dataGridView1.DataSource = bill.GetDataView();
 }