Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            string      id   = txtID.Text;
            string      name = txtName.Text;
            string      cmt  = rtbCmt.Text;
            DataProcess dt   = new DataProcess();

            dgvSupplier.DataSource = dt.AddSupplier(id, name, cmt);
        }