Exemple #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);
        }
 public Products()
 {
     InitializeComponent();
     GetDatabasedata.getProducts(dataGridView1);
 }
Exemple #3
0
 private void Delete_Click(object sender, EventArgs e)
 {
     dataGridView1.Rows[dataGridView1.CurrentCell.RowIndex].Selected = true;
     DeleteProcs.deleteRow(dataGridView1);
     GetDatabasedata.getCustomers(dataGridView1);
 }
Exemple #4
0
 private void RefreshCust_Click(object sender, EventArgs e)
 {
     GetDatabasedata.getCustomers(dataGridView1);
 }
Exemple #5
0
 public Customers()
 {
     InitializeComponent();
     GetDatabasedata.getCustomers(dataGridView1);
 }