Hello sir..jst a beginner in MVC..so jst started doing coding..trying to build one application but i am stuck in one logic.
i want that my Login page should check three condition
1.UserName matches from Login table
2. Password Matches from Login Table
3. StatusID of Login table == StatusID of Status_Master_table == 1
because my status will be active when StatusID will be 1 and rest in any StatudID page will not login...
I have successuly made Username and Password matched but for third condition i have tried a lot but could not able to do it...
It will be an honoured for me sir if you could able to take me out from this query..your help is urgently required...
Vinay SinghRank #604 · 4K reputationPosted Jun 15, 2016, 10:52 PM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 15, 2016, 11:05 PM EDT
kalu singh raoRank #884 · 2.4K reputationPosted Jul 8, 2016, 10:01 PM EDT
Kunal Gupta147 reputationPosted Jun 15, 2016, 11:01 PM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 2:27 AM EDT
where data.UserName == u.UserName
&& data.Password == u.Password
Vinay SinghRank #604 · 4K reputationPosted Jun 16, 2016, 2:31 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 2:35 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 16, 2016, 2:38 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 2:48 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 2:52 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 2:58 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 3:05 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 3:15 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 16, 2016, 3:20 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 3:31 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 16, 2016, 3:34 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 3:39 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 16, 2016, 3:43 AM EDT
Kunal Gupta147 reputationPosted Jun 16, 2016, 3:45 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 16, 2016, 3:49 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 17, 2016, 9:48 AM EDT
Login From With Active User Validation in Asp.Net MVC Using C#.Net
Kunal Gupta147 reputationPosted Jun 20, 2016, 8:55 PM EDT
Nilesh SawardekarRank #648 · 3.7K reputationPosted Jul 6, 2016, 10:45 AM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jul 8, 2016, 2:11 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts