日期:2014-05-17 浏览次数:20545 次
DataorderDataContext db = new DataorderDataContext(); var ret = from p in db.user where p.name == TextBox1.Text && p.pwd == TextBox2.Text select p; if (ret.Count() >= 1) { Response.Redirect("index.aspx"); }