/// 从sql里边:delete from table where id>x and id
/// for(int i=0,i
/// SqlConnection conn=new SqlConnection(conStr);
/// string sql="delete from table where id="+listID[i];
/// SqlCommand cmd=new SqlCommand(sql,conn);
/// int n= cmd.ExecuteNonQuery();
/// if(n==0)
/// {
/// MessageBox.Show("ID为"+listID[i]+"的记录未能成功删除");
/// }
/// }
用文件系统 遍历所要删除的文件 一一删除。