protected void LinkButton3_Click(object sender, EventArgs e)
        {
            TextBox tb_NewSubject = (TextBox)GridView1.FooterRow.FindControl("tb_NewSubject");
            TextBox tb_NewQuest = (TextBox)GridView1.FooterRow.FindControl("tb_NewQuest");
            TextBox tb_NewAnswers = (TextBox)GridView1.FooterRow.FindControl("tb_NewAnswers");
            TextBox tb_NewTrueAnswer = (TextBox)GridView1.FooterRow.FindControl("tb_NewTrueAnswer");
            TextBox tb_NewDifficult = (TextBox)GridView1.FooterRow.FindControl("tb_NewDifficult");

            var tt = new TestTasks();

            tt.Subject = tb_NewSubject.Text;
            tt.Quest = tb_NewQuest.Text;
            tt.Answers = tb_NewAnswers.Text;
            tt.TrueAnswer = tb_NewTrueAnswer.Text;
            tt.Dificult = tb_NewDifficult.Text;

            _eJDataContext.TestTasks.InsertOnSubmit(tt);
            try
            {
                _eJDataContext.SubmitChanges();
            }
            catch
            {
                _eJDataContext.ChangeConflicts.ResolveAll(RefreshMode.KeepChanges);
                {
                    try
                    {
                        _eJDataContext.SubmitChanges();
                    }
                    catch (Exception exept)
                    {
                        Console.WriteLine("Error:  " + exept);
                    }
                }
            }

            FillCustomerInGrid();
        }
 partial void UpdateTestTasks(TestTasks instance);
 partial void DeleteTestTasks(TestTasks instance);
 partial void InsertTestTasks(TestTasks instance);