Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Login verification in MVC
Srikanth Reddy
10y
661
1
Reply
Hai friends,
I am beginner to MVC.
I have created registration.cshtml & login.cshtml.
How to check whether the user is valid user or invalid user?
In asp.net I used as:
select count(*) from Users where mailid=" " & password= " "
if it returns 0 i simply said user is invalid else valid user.
The same scenerio how to use in MVC with LINQ or Lambda Expression?
Please reply me what type of code I need to write?
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How to give space between menu in asp.net?
Absolute paths workaround in web application