Esempio n. 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     db = new DCbankDataContext();
     db.sp_Update_isNotActive(User, "NOT ACTIVE");
     MessageBox.Show("Successfuly Update");
     dataGridView1.DataSource = db.sp_view_teller();
 }
Esempio n. 2
0
 private void frmViewUser_Load(object sender, EventArgs e)
 {
     db = new DCbankDataContext();
     dataGridView1.DataSource = db.sp_view_teller();
 }