前面提了问题,解决了一部分问题了,现在问题是DataGrid1绑定不上tmpSTU怎么办?//Button1_OnClick的一段代码
string fl="Grade=2001";
Label1.Text=fl;
DataSet tmpSTU=dsstus.Clone();
DataRow[] tmprows=dsstus.Tables["STU"].Select("Grade=2001");
DataTable tmptable=tmpSTU.Tables["STU"];
foreach (DataRow tmprow in tmprows)
{
    tmptable.ImportRow(tmprow);
    Label1.Text+="+1"+tmprow["Grade"]+"<BR>";
}
DataGrid1.DataSource=tmpSTU;
DataGrid1.DataBind();现在在Label1上能正确返回2001,也就是说dsstus.Tables["STU"].Select()起了作用,
但是返回的页面上DataGrid1还是老数据,怎么办。参看
http://community.csdn.net/Expert/topic/3590/3590123.xml?temp=.8910028