摘要: 一次筛选 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 阅读全文
posted @ 2011-04-12 09:51 韩天伟 阅读(1243) 评论(0) 推荐(0) 编辑