private void btn_Update_Click(object sender, EventArgs e) { CodeFirstQLSV_BLL bll = new CodeFirstQLSV_BLL(); bll.update_BLL(getSV()); btn_Show_Click(sender, e); }
private void btn_Sort_Click(object sender, EventArgs e) { CodeFirstQLSV_BLL bll = new CodeFirstQLSV_BLL(); try { datagr_1.DataSource = bll.sort_BLL(cbBox_Sort.Text); } catch (Exception) { throw; } }
private void btn_Search_Click(object sender, EventArgs e) { CodeFirstQLSV_BLL bll = new CodeFirstQLSV_BLL(); datagr_1.DataSource = bll.search_BLL(txtBox_Search.Text); }
private void btn_Show_Click(object sender, EventArgs e) { CodeFirstQLSV_BLL bll = new CodeFirstQLSV_BLL(); datagr_1.DataSource = bll.Show_BLL(); }