+ 1

How to make login panel through MVC FRAME WORK IN C#

I try to make Login panel by using MVC frame work in c# but I am facing problem. how to get text from text field of login form in controller class.

12th Jan 2018, 3:11 PM
ARSALAN ILYAS
ARSALAN ILYAS - avatar
3 Respuestas
+ 1
I make view ,model, database class,controller in view i put all the forms. now I want to make methods in controller get text from login form which user enter and check it from database weather it's match or not.
12th Jan 2018, 3:24 PM
ARSALAN ILYAS
ARSALAN ILYAS - avatar
0
Hey Arsalan, can you be a bit more specific? where are you blocked, which frameworks, ... Normally with MVC pattern the controller get the information quite straightforward from the view. For example, the controller can have a reference to the view and add listener to the change of the field, or on the validate button click...
12th Jan 2018, 3:20 PM
la pieuvre
la pieuvre - avatar
0
Like I said before, you can have a reference to your view in your controller accessing the properties of the view such as login field, and password. Do you have some code to show so i can be more specific?
13th Jan 2018, 12:23 AM
la pieuvre
la pieuvre - avatar