如何对DataView vue 进行满足两个条件的筛选呢
string strsql = "select 用户ID,用户密码 from 用户";
SqlDataAdapter da = new SqlDataAdapter(strsql, cn);
ds = new DataSet();
da.Fill(ds, "用户");
DataView vue;
vue = new DataView();
vue.Table = ds.Tables["用户"];
我的目的是,当用户在textbox上输入用户ID和用户密码时,如果vue里已经存在,那么就继续操作,假如不存在,则告诉用户不存在,并退出程序,这该如何写呢