Beispiel #1
0
        private void Insert_Click(object sender, EventArgs e)
        {
            dataGridView1.Rows[dataGridView1.CurrentCell.RowIndex].Selected = true;
            RowData rd = new RowData(dataGridView1);

            InsertProcs.insertRow(rd);
            GetDatabasedata.getCustomers(dataGridView1);
        }
Beispiel #2
0
 private void Delete_Click(object sender, EventArgs e)
 {
     dataGridView1.Rows[dataGridView1.CurrentCell.RowIndex].Selected = true;
     DeleteProcs.deleteRow(dataGridView1);
     GetDatabasedata.getCustomers(dataGridView1);
 }
Beispiel #3
0
 private void RefreshCust_Click(object sender, EventArgs e)
 {
     GetDatabasedata.getCustomers(dataGridView1);
 }
Beispiel #4
0
 public Customers()
 {
     InitializeComponent();
     GetDatabasedata.getCustomers(dataGridView1);
 }