Пример #1
0
        private void btn_Update_Click(object sender, EventArgs e)
        {
            CodeFirstQLSV_BLL bll = new CodeFirstQLSV_BLL();

            bll.update_BLL(getSV());
            btn_Show_Click(sender, e);
        }
Пример #2
0
        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;
            }
        }
Пример #3
0
        private void btn_Search_Click(object sender, EventArgs e)
        {
            CodeFirstQLSV_BLL bll = new CodeFirstQLSV_BLL();

            datagr_1.DataSource = bll.search_BLL(txtBox_Search.Text);
        }
Пример #4
0
        private void btn_Show_Click(object sender, EventArgs e)
        {
            CodeFirstQLSV_BLL bll = new CodeFirstQLSV_BLL();

            datagr_1.DataSource = bll.Show_BLL();
        }