我已经创建并返回了数据表,这个表有 10 列。现在我想根据一些动态搜索参数从这个表中过滤。这该怎么做?任何想法都会得到及时的帮助。
// This function will create and return the source table.
var DisplayTable = CreateQueryTable();
在这里我想做动态搜索If col1=MyName and Col2=MyCity
ResultGrid.DataSource = DisplayTable;
ResultGrid.DataBind();
Panel1.Controls.Add(ResultGrid);