Guest User

Untitled

a guest
Jan 23rd, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. int count=(from c in dc.Logins
  2. where c.UserName == uname && c.Password == pwd
  3. select c).Count();
  4. if(count>0)
  5. {
  6. return true;
  7. }
  8. else
  9. {
  10. return false;
  11. }
  12. }
Add Comment
Please, Sign In to add comment