摘要:
一次筛选 IList<Model>list=(IList<Model>)dataGridView2.DataSource;varquery=fromstudentinlist//wherestudent.FormCode.StartsWith(textBox3.Text.Trim())wherestudent.FormCode.Contains(textBox3.Text.Trim())//wherestudent.FormCode.EndsWith(textBox3.Text.Trim())selectstudent; dataGridView2.DataSource 阅读全文