public int TonTaiDangNhap(string tendangnhap, string pass) { string sql = string.Format("select count(*) from NGUOIDUNG where TenDangNhap='{0}' and Password='******'", tendangnhap, pass); return(ConnectionDB.LaySoDong(sql)); }