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