DataTable dt = dataSet1.table1.GetAllRows();
DataRow[] foundRow = dt.Select("catalogid = 0", "");
foreach (DataRow row in foundRow)
{
dt.Rows.Remove(row);
}
GridView1.DataSource = dt;
GridView1.DataBind();
DataTable dt = dataSet1.table1.GetAllRows();
DataRow[] foundRow = dt.Select("catalogid = 0", "");
foreach (DataRow row in foundRow)
{
dt.Rows.Remove(row);
}
GridView1.DataSource = dt;
GridView1.DataBind();