Beispiel #1
0
 protected void Button1_Click1(object sender, EventArgs e)
 {
     SE se = new SE();
     se.EvalSearchString(TextBox1.Text, TermGroup.institute);
     se.EvalSearchString(TextBox2.Text, TermGroup.napr);
     se.EvalSearchString(TextBox3.Text, TermGroup.kvalif);
     se.EvalSearchString(TextBox4.Text, TermGroup.fobuch);
     se.EvalSearchString(TextBox5.Text, TermGroup.disciplin);
     se.EvalSearchString(TextBox6.Text, TermGroup.sostavitel);
     se.EvalSearchString(TextBox7.Text, TermGroup.zaveril);
     se.EvalSearchString(TextBox8.Text, TermGroup.body);
     docs = se.GetResult();
     GridView1.DataSource = docs.Select(doc =>
     {
         HtmlButton link = new HtmlButton();
         link.ID = doc.id.ToString();
         return new { doc.name, doc.weight, link, doc.path };
     });
     GridView1.DataBind();
 }