예제 #1
0
        private void button_insert_Click(object sender, EventArgs e)
        {
            TB_CUST temp = new TB_CUST();

            temp.CUST_ID  = textBox1.Text;
            temp.BIRTH_DT = textBox2.Text;
            Data_Manger.tB_CUSTs.Add(temp);
            Data_Manger.Save();
            DataLoad();
        }
예제 #2
0
 private void DataLoad()
 {
     Data_Manger.Load();
     dataGridView1.DataSource = Data_Manger.tB_CUSTs;
 }