DataRow[] drList = dt.Select("Title like '%" + txtClassName.Text.Trim() + "%'");
DataTable newdt = new DataTable();
newdt = dt.Clone();
foreach (DataRow dr in drList)
{
newdt.Rows.Add(dr.ItemArray);
}
lvCourse.DataSource = newdt;
lvCourse.DataBind();
DataTable 刷选数据 DataTable select
最新推荐文章于 2022-11-02 00:14:05 发布